<?php $loop = new WP_Query( array( 'paged' => get_query_var('paged'), 'post_type' => 'custom_post_type_name', 'posts_per_page' => 9 ) ); while ( $loop->have_posts() ) : $loop->the_post(); /*The Loop*/ endwhile; ?>Then Add WP PageNavi
<?php wp_pagenavi( array( 'query' => $loop ) ); ?>