Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /** Template Name: Home page
- */
- get_header(); ?>
- <div class="wrapper bg-2">
- <div id="banner" class="wrapper-inner">
- <div id="topsection">
- <?php
- query_posts('post_type=page&posts_per_page=1&post_parent='.$parent);
- ?>
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="slide_title_1">
- <h1 class="entry-title"><?php echo get('home_page_section_header_title'); ?></h1>
- </div>
- <div class="slide_text">
- <?php echo get('home_page_section_header_content'); ?>
- </div>
- </div>
- <!--content_inside_box1 end-->
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
- </div>
- <?php
- query_posts('post_type=page&posts_per_page=1&post_parent='.$post->ID);
- ?>
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div class="slide_d">
- <?php echo get_image('brand_and_review_brand_main_image_'); ?>
- <div class="slide_title"><a href="<?php echo get('tracker_url_tracker_url'); ?>" class="link_url_"><img src="<?php bloginfo('template_directory'); ?>/images/slide_ico.png" width="25" height="15" style="vertical-align:middle;" alt="" /> Click Here to visit the Best Mac Casino!</a></div>
- </div><br />
- <!--<div id="primary">
- <div id="content" role="main">-->
- <div class="slide_i">
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- </div>
- <div class="brandlogomainBG">
- <a href="<?php the_permalink(); ?>"><?php echo get_image('brand_and_review_brand_logo'); ?></a>
- </div>
- <div class="slide_featured">
- <img src="<?php bloginfo('template_directory'); ?>/images/slide_featured.png" style="vertical-align:middle;" alt=""/> <a href="<?php echo get('tracker_url_tracker_url'); ?>" class="link_url"><?php echo get('brand_and_review_selling_point_1'); ?></a><br />
- <img src="<?php bloginfo('template_directory'); ?>/images/slide_featured.png" style="vertical-align:middle;" alt=""/> <a href="<?php echo get('tracker_url_tracker_url'); ?>" class="link_url"><?php echo get('brand_and_review_selling_point_2'); ?></a><br />
- <img src="<?php bloginfo('template_directory'); ?>/images/slide_featured.png" style="vertical-align:middle;" alt=""/> <a href="<?php echo get('tracker_url_tracker_url'); ?>" class="link_url"><?php echo get('brand_and_review_selling_point_3'); ?></a><br />
- <img src="<?php bloginfo('template_directory'); ?>/images/slide_featured.png" style="vertical-align:middle;" alt=""/> <a href="<?php echo get('tracker_url_tracker_url'); ?>" class="link_url"><?php echo get('brand_and_review_selling_point_4'); ?></a><br />
- <img src="<?php bloginfo('template_directory'); ?>/images/slide_featured.png" style="vertical-align:middle;" alt=""/> <a href="<?php echo get('tracker_url_tracker_url'); ?>" class="link_url"><?php echo get('brand_and_review_selling_point_5'); ?></a><br />
- </div>
- <div class="slide_boton">
- <a href="<?php echo get('tracker_url_tracker_url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/playnow.png" alt="Play Now" width="198" height="60" border="0"/></a>
- </div>
- <span class="slide_bonus1"><h4 class="deposittitle">Deposit Now and Receive:</h4></span>
- <div id="bonusblurb"><span class="slide_bonus2"><a href="<?php echo get('tracker_url_tracker_url'); ?>" class="bonus"><?php echo get('brand_and_review_brand_offer'); ?></a></span></div>
- <div id="bonusarrowBG"> </div>
- </div><!--slide_i end-->
- <!--</div> #content -->
- <!--</div> #primary -->
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
- </div>
- </div>
- <div class="wrapper bg-0">
- <div id="content" class="wrapper-inner clearfix">
- <div class="main column">
- <div class="content_inside_text">
- </div>
- <div id="bottomsection">
- <?php
- query_posts('post_type=page&posts_per_page=1&post_parent='.$parent);
- ?>
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="content_inside_title_home"><h2><?php echo get('home_page_section_home_page_middle_section_title'); ?></h2></div>
- <div class="content_inside_text_home"><?php echo get('home_page_section_home_page_middle_section_content'); ?>
- <div class="maintable5BG"> </div>
- </div>
- </div>
- <!--content_inside_box1 end-->
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
- </div>
- <?php
- query_posts('post_type=page&posts_per_page=5&post_parent='.$post->ID);
- ?>
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div class="content_inside_box1">
- <div class="smalllogoBG">
- <?php echo get_image('brand_and_review_brand_logo_thumb'); ?>
- </div>
- <div class="content_inside_t1">
- <div class="right_a">
- <a href="<?php the_permalink(); ?>" class="link_2">
- <?php echo get('brand_and_review_brand_name'); ?></a>
- </div>
- <div class="right_c"><a href="<?php the_permalink(); ?>" class="link_1">
- <?php echo get('brand_and_review_brand_offer'); ?>
- </a></div>
- </div>
- <div class="content_inside_boton">
- <a href="<?php echo get('tracker_url_tracker_url'); ?>" class="link_2"><img src="<?php bloginfo('template_directory'); ?>/images/playnowsmall.png" width="89" height="31" alt="Play Now" /></a>
- </div>
- <div class="content_inside_band1">
- <?php echo get_image('brand_and_review_compatible_1'); ?>
- </div>
- <div class="content_inside_band2">
- <?php echo get_image('brand_and_review_compatible_2'); ?>
- </div>
- <div class="content_inside_band2">
- <?php echo get_image('brand_and_review_compatible_3'); ?>
- </div>
- <div class="content_inside_text_min">
- <?php echo get('brand_and_review_brand_blurb'); ?><a href="<?php the_permalink(); ?>" target="_self" class="readreview"> - Read Review</a></div>
- </div>
- <!--content_inside_box1 end-->
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
- <?php
- $category_link = get_category_link(6);
- ?>
- <div class="content_inside_text_more"><a href="<?php echo home_url(); ?>/top-mac-casino-brands.html">Click Here for Full List of Mac Casinos!!</a></div>
- </div><!--main column end-->
- <div class="sidebar column border">
- <?php dynamic_sidebar( 'Home Widget' ); ?>
- <div class="right-cont-">
- <div class="sep"></div>
- <?php $recent = new WP_Query("cat=1,6,7,8&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="right_intro"><?php the_post_thumbnail('thumbnail', array('class' => 'alignleft')); ?>
- <div class="right_date"><?php echo get_the_date(); ?></div>
- <div class="right_sub_tilte"><a href="<?php the_permalink(); ?>" class="link_2"><?php the_title(); ?></a></div>
- <?php
- $excerpt = get_the_excerpt();
- echo string_limit_words($excerpt,20);
- ?> <a href="<?php the_permalink(); ?>" class="link_more">> read more</a></div>
- </div>
- <div class="sep"></div>
- <?php endwhile; // end of the loop. ?>
- <?php wp_reset_query(); ?>
- </div>
- <div class="right-cont-">
- <?php $recent = new WP_Query("cat=1,6,7,8&showposts=4&offset=1"); while($recent->have_posts()) : $recent->the_post();?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="right_date"><?php echo get_the_date(); ?></div>
- <div class="right_sub_tilte"><a href="<?php the_permalink(); ?>" class="link_2"><?php the_title(); ?></a></div>
- <div class="right_intro"><?php
- $excerpt = get_the_excerpt();
- echo string_limit_words($excerpt,15);
- ?> <a href="<?php the_permalink(); ?>" class="link_more">> read more</a></div>
- </div>
- <div class="sep"></div>
- <?php endwhile; // end of the loop. ?>
- <?php wp_reset_query(); ?>
- </div>
- </div>
- </div>
- </div><!--wrapper bg-0 end-->
- <div class="wrapper bg-2">
- <div class="wrapper-inner clearfix" id="banner-footer">
- <div class="main column">
- <div class="content_inside_sub">
- <?php
- query_posts('post_type=page&posts_per_page=1&post_parent='.$parent);
- ?>
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="content_inside_text"><?php echo get('home_page_section_home_page_bottom_section_content'); ?></div>
- </div>
- <!--content_inside_box1 end-->
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
- </div>
- </div>
- <div class="sidebar column border">
- <?php
- // A second sidebar for widgets, just because.
- if ( is_active_sidebar( 'Home Bottom Widget' ) ) : ?>
- <div id="flexible" class="widget-area" role="complementary">
- <?php dynamic_sidebar( 'Home Bottom Widget' ); ?>
- </div><!-- flexible-widget-area .widget-area -->
- <?php endif; ?>
- <div class="right_box4">
- </div>
- </div>
- </div>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement