Guest User

Untitled

a guest
Jul 25th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. wp_reset_query();
  2.  
  3. if(!empty($post->post_content)) { //show this only when we have content
  4. if (empty($paged) or $paged < 2) { //show this only on the first page
  5.  
  6. ?>
  7. <div class="row-fluid">
  8. <div class="span12 column_container" role="complementary" itemscope="itemscope" itemtype="http://schema.org/WPSideBar">
  9. <?php
  10. if (have_posts()) {
  11. while ( have_posts() ) : the_post();
  12. //read the page settings
  13. the_content();
  14. endwhile; //end loop
  15. }
  16. ?>
  17. </div>
  18. </div>
  19. <?php
  20.  
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment