WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] News not change with the page. (2 posts)

  1. Julian Magossi
    Member
    Posted 2 months ago #

    News not change with the page, just the link. help :(

    look my site: http://tubonasa.com.br/noticias/

    My query:

    <?php query_posts( array( 'cat' => 1, 'paged' => get_query_var('page') ) );?>
    
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<div id="news-each">
    						<?php the_post_thumbnail('thumb'); ?>
    						<div id="news-cont">
    							<ul>
    								<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <?php the_date(); ?></li>
    								<li><?php the_excerpt(); ?></li>
    							</ul>
    						</div> <!-- end # news-cont -->
    					</div> <!-- end # news-each -->
    
    				<?php endwhile; // end of the loop.  ?>
    
    				<?php wp_pagenavi(); ?>
    
    				<?php wp_reset_query(); ?>

    Help me please? (:

    https://wordpress.org/plugins/wp-pagenavi/

  2. Lester Chan
    Member
    Plugin Author

    Posted 2 months ago #

    It is not recommended to use the main WP_Query for that purpose. Please read http://wordpress.org/support/topic/navigation-not-working-3?replies=1

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.