WordPress.org

Forums

Page for post archive (1 post)

  1. karinnelegault
    Member
    Posted 1 year 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(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic