WP-PageNavi is showing the first page only
In case of wp_query, you can’t use shortcode this way <?php wp_pagenavi(); ?> You need to use variable (in which you are storing wp_query) in array inside shortcode. Use shortcode like this instead. Replace above shortcode with below one. <?php wp_pagenavi( array( ‘query’ => $query_slider ) ); ?> UPDATE This is a way in which … Read more