I am struggling with the pagination of a custom loop in WordPress …
The Links are displayer correctly, but when I click on the next page I get a 404 Error.
The Link seems to be correct http://…/page/2/
Did I miss something while creating the query?
Do I have to add an additional function in the functions.php file?
This is my query:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $wu_media_query = new WP_Query( ); $wu_media_query->query('showposts=5&post_type=wu_media&paged=' . $paged);
Would be grateful any hint
Read more here: Custom Query pagination 404 Error