WordPress.org

Ready to get started?Download WordPress

Forums

Page for post archive (1 post)

  1. karinnelegault
    Member
    Posted 11 months ago #

    Hi there,

    I'm having a hell of a time trying to get my Blog page to show a list of posts with the paging navigation.

    As it is, the posts show and the navigation but when you click on one of the paging links, the url changes, but the posts are the same.

    I was trying it with this code

    <?php $temp_query = $wp_query; ?>
    
    		<?php query_posts('post_type=post'); ?>
    			<?php /* The loop */ ?>
    			<?php while ( have_posts() ) : the_post(); ?>
    				<?php get_template_part( 'content', get_post_format() ); ?>
    			<?php endwhile; ?>
    
    			<?php twentythirteen_paging_nav(); ?>

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 11 months ago by karinnelegault
  • This topic is not resolved
  • WordPress version: 3.6.1