here is my code:
$args = array( ‘post_type’ => ‘Sliderpost’, ‘posts_per_page’ => 5);
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
the_title();
echo ”;
the_content();
echo ”;
endwhile; ?>

‘multipart’ ) ); ?>

Read more here: wp-pagenavi shows only first page


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: