WordPress Custom type pagination 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,enter code here
‘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 am really Tired of this issue !!
[duplicate – please continue with http://wordpress.org/support/topic/pagination-not-working-404-410 ]
The topic ‘WordPress Custom type pagination 404’ is closed to new replies.