Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <? get_header(); ?>
- <div class="clear"></div>
- <div class="wrapbgcontent"><!-- Content BG -->
- <div class="wrapBodycontainer"><!-- Body Container -->
- <div class="RecentMsgContainer"><!-- Recent Messages Container -->
- <div class="rmtop">
- </div>
- <div class="rmmid">
- <?php if ( function_exists('insert_newsticker') ) { insert_newsticker(); } ?>
- </div>
- <div class="rmbtm">
- </div>
- </div><!-- Recent Messages Container END -->
- <div class="slidercontainer"><!-- Slider Container -->
- </div><!-- Slider Container END -->
- <div class="featurescontainer"><!-- Features Container -->
- <div id="leftfeature">
- <div class="featlefttop">
- <?php if ( in_category('designs') ) { ?>
- <div class="post-cat-five">
- <?php } else { ?>
- <div class="post">
- <?php } ?>
- <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
- </div>
- <div class="featleftmain">
- <div class="featimageleft">
- <?php
- // The Query
- $the_query = new WP_Query( 'cat=5' );
- // The Loop
- while ( $the_query->have_posts() ) : $the_query->the_post();
- if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
- the_post_thumbnail();
- }
- endwhile;
- // Reset Post Data
- wp_reset_postdata(); ?>
- </div>
- </div>
- </div>
- <div id="midfeature">
- <div class="featmidttop">
- <?php if ( in_category('recent') ) { ?>
- <div class="post-cat-three">
- <?php } else { ?>
- <div class="post">
- <?php } ?>
- <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
- </div>
- <div class="featmidmain">
- <div class="featimagemid">
- <?php
- // The Query
- $the_query = new WP_Query( 'cat=1' );
- // The Loop
- while ( $the_query->have_posts() ) : $the_query->the_post();
- if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
- the_post_thumbnail();
- }
- endwhile;
- // Reset Post Data
- wp_reset_postdata(); ?>
- </div>
- </div>
- </div>
- <div id="rightfeature">
- <div class="featrighttop">
- <?php if ( in_category('websites') ) { ?>
- <div class="post-cat-three">
- <?php } else { ?>
- <div class="post">
- <?php } ?>
- </div>
- <div class="featrightmain">
- <div class="featimageright">
- <?php
- // The Query
- $the_query = new WP_Query( 'cat=4' );
- // The Loop
- while ( $the_query->have_posts() ) : $the_query->the_post();
- if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
- the_post_thumbnail();
- }
- endwhile;
- // Reset Post Data
- wp_reset_postdata(); ?>
- </div>
- </div>
- </div>
- </div><!-- Features Container END -->
- </div><!-- Body Container END -->
- </div><!-- Content BG END -->
- <? get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement