• Resolved Julian Magossi

    (@julian-magossi)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘News not change with the page.’ is closed to new replies.