WordPress.org

Ready to get started?Download WordPress

Forums

[closed] WordPress Custom type pagination 404 (1 post)

  1. Amedi
    Member
    Posted 1 year ago #

    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 ]

Topic Closed

This topic has been closed to new replies.

About this Topic