How to make WP Page Navi work in custom loop WP_query
Thursday, January 26th, 2012Problem: Wp page navi doesnt work in custom loop in a page . Software: WordPress WP Page Navi Function: get_posts, query_posts , WP_Query, wp_pagenavi, get_query_var Solutions: 1. Add the custom $query to the wp page navi function: if(function_exists(‘wp_pagenavi’)) wp_pagenavi(array( ‘query’ =>$query )); 2. Add the value of page in your WP_query. $paged = get_query_var(‘paged’) ? [...]
>>read more

