Hello Everyone If you are trying to add pagination on for your custom post type using “WP-PageNavi” plugin in your site then you have need to add custom post type query in wp_pagenavi() function after end of while loop <?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $loop = new WP_Query( array( 'post_type'