Pagination not working 404
-
My pagination is not working, it only displays the current page 1 when clicking 2 or 3 .. I get 404 error, below is the code :
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$args = array(
‘post_type’ => ‘estate’,
‘paged’ => $paged,
‘posts_per_page’ => $showposts);When I change 1 to 3 for example, it shows the third page correctly and clicking page 1 (only) also works fine but clicking back 3 I get 404 error. As:
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 3;Any Solution please I spent 3 days googeling.
[please start only one topic per problem – duplicates will get closed or deleted; please continue with https://www.ads-software.com/support/topic/pagination-not-working-404-410?replies=6 ]
- The topic ‘Pagination not working 404’ is closed to new replies.