- This topic has 14 replies, 2 voices, and was last updated 6 years ago by .
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Pagination doesn’t” work properly
Tagged: pagination
For these lines:
<?php
/* 以下、ページャーの表示 by using the wp_pagenavi plugin */
if ( function_exists( 'pagination' ) ) :
pagination( $myposts->max_num_pages, get_query_var( 'paged' ) ); //$wp_query ではなく $my_query を使用する!
endif;
?>
Can you try standard WordPress Codex code:
<div class="nav-previous"><?php next_posts_link( 'Older posts', $query->max_num_pages ); ?></div>
<div class="nav-next"><?php previous_posts_link( 'Newer posts' ); ?></div>
It may be that it is your pagination code that is the issue.