Loops and WP PageNavi Plugin problems
-
Hello everyone!
On my homepage, I’m displaying the content from the category called “News” for this I’m using :
<?php //The Query query_posts('posts_per_page=10&cat=-80'); //The Loop if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
I added the plugin WP_Pagenavi to display the next articles from the category “News” on my homepage layout like this :
<?php endwhile; ?> <?php wp_pagenavi(); ?> <?php endif; ?>
So when I click on the link page 2 for instance, the site display the URL https://www.example.com/page/2 but the content doesn’t change, still the same homepage.
Do you have ideas how to fix this ?
Thanks in advance!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Loops and WP PageNavi Plugin problems’ is closed to new replies.