Sign in to follow this  
Followers 0

[wordpress] pagination problem

2 posts in this topic

Posted

Hello :) 

 

I have very strange problem with pagination in Wordpress. First thing web page. Second, I want to display all post from couple categories. In Wordpress options I set 5 post per page. And now check, how it works. The same posts on every page. <div id="primary" class="site-content">

<div id="primary" class="site-content">
		<div id="content" role="main">

        <?php $posts = query_posts('cat=114,116,117,118,120,121,123,124,125,126'); ?>
			<?php while ( have_posts() ) : the_post(); ?>
				<?php get_template_part( 'content-mapa', 'page' ); ?>
			<?php endwhile; 
			
			if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
			
			?>
            
            
            
            

            
		</div><!-- #content -->
        	
	</div><!-- #primary -->

I do not know what is wrong, because pagination on home page works perfectly. Can anyone help me ? Regards. MaPa.

Share this post


Link to post
Share on other sites

Posted

You might have a conflicting plugin. Or the theme does not work properly with pagination

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.