Advertisement
Guest User

index

a guest
Oct 20th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.74 KB | None | 0 0
  1. <? get_header(); ?>
  2. <div class="clear"></div>
  3. <div class="wrapbgcontent"><!-- Content BG -->
  4.  
  5. <div class="wrapBodycontainer"><!-- Body Container -->
  6.  
  7. <div class="RecentMsgContainer"><!-- Recent Messages Container -->
  8. <div class="rmtop">
  9. </div>
  10. <div class="rmmid">
  11.  
  12. <?php if ( function_exists('insert_newsticker') ) { insert_newsticker(); } ?>
  13.  
  14. </div>
  15. <div class="rmbtm">
  16. </div>
  17. </div><!-- Recent Messages Container END -->
  18.  
  19. <div class="slidercontainer"><!-- Slider Container -->
  20.  
  21. </div><!-- Slider Container END -->
  22.  
  23. <div class="featurescontainer"><!-- Features Container -->
  24. <div id="leftfeature">
  25. <div class="featlefttop">
  26. <?php if ( in_category('designs') ) { ?>
  27.            <div class="post-cat-five">
  28.  <?php } else { ?>
  29.            <div class="post">
  30.  <?php } ?>
  31. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
  32. </div>
  33. <div class="featleftmain">
  34. <div class="featimageleft">
  35. <?php
  36. // The Query
  37. $the_query = new WP_Query( 'cat=5' );
  38.  
  39. // The Loop
  40. while ( $the_query->have_posts() ) : $the_query->the_post();
  41.     if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
  42.         the_post_thumbnail();
  43.     }
  44. endwhile;
  45.  
  46. // Reset Post Data
  47. wp_reset_postdata(); ?>
  48. </div>
  49. </div>
  50. </div>
  51. <div id="midfeature">
  52. <div class="featmidttop">
  53. <?php if ( in_category('recent') ) { ?>
  54.            <div class="post-cat-three">
  55.  <?php } else { ?>
  56.            <div class="post">
  57.  <?php } ?>
  58. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
  59. </div>
  60. <div class="featmidmain">
  61. <div class="featimagemid">
  62.  
  63. <?php
  64. // The Query
  65. $the_query = new WP_Query( 'cat=1' );
  66.  
  67. // The Loop
  68. while ( $the_query->have_posts() ) : $the_query->the_post();
  69.     if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
  70.         the_post_thumbnail();
  71.     }
  72. endwhile;
  73.  
  74. // Reset Post Data
  75. wp_reset_postdata(); ?>
  76. </div>
  77. </div>
  78. </div>
  79. <div id="rightfeature">
  80. <div class="featrighttop">
  81. <?php if ( in_category('websites') ) { ?>
  82.            <div class="post-cat-three">
  83.  <?php } else { ?>
  84.            <div class="post">
  85.  <?php } ?>
  86. </div>
  87. <div class="featrightmain">
  88. <div class="featimageright">
  89.  
  90. <?php
  91. // The Query
  92. $the_query = new WP_Query( 'cat=4' );
  93.  
  94. // The Loop
  95. while ( $the_query->have_posts() ) : $the_query->the_post();
  96.     if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
  97.         the_post_thumbnail();
  98.     }
  99. endwhile;
  100.  
  101. // Reset Post Data
  102. wp_reset_postdata(); ?>
  103. </div>
  104. </div>
  105. </div>
  106. </div><!-- Features Container END -->
  107.  
  108.  
  109. </div><!-- Body Container END -->
  110.  
  111. </div><!-- Content BG END -->
  112.  
  113.  
  114. <? get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement