wp_pagenavi() with custom wp_query()?

wp_pagenavi( array( 'query' => $loop ) );

should work with the code above. Don’t hijack the main query if you can avoid it.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)