Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php while ( have_posts() ) : the_post(); ?>
- <?php if ( is_single() ) : ?>
- <div class="post-heading-info">
- <!--Post heading info like title, category goes here -->
- </div>
- <?php endif; ?>
- <?php endwhile; ?>
- <?php //sidebar widget goes here ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php if ( is_single() ) : ?>
- <div class="post-content">
- <!--Post content and footer goes here-->
- </div>
- <?php endif; ?>
- <?php endwhile; ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php get_template_part('content', 'single-heading');?>
- <?php endwhile; ?>
- <?php //sidebar widget goes here ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php get_template_part('content', 'single');?>
- <?php endwhile; ?>
- <div class="post-content">
- <!--Post content and footer goes here-->
- </div>
- <div class="post-heading-info">
- <!--Post heading info like title, category goes here -->
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement