Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wp_reset_query();
- if(!empty($post->post_content)) { //show this only when we have content
- if (empty($paged) or $paged < 2) { //show this only on the first page
- ?>
- <div class="row-fluid">
- <div class="span12 column_container" role="complementary" itemscope="itemscope" itemtype="http://schema.org/WPSideBar">
- <?php
- if (have_posts()) {
- while ( have_posts() ) : the_post();
- //read the page settings
- the_content();
- endwhile; //end loop
- }
- ?>
- </div>
- </div>
- <?php
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment