• Resolved mith143

    (@mith143)


    I have a blog page on my website. The blog page also contains a page navigator. However, When I click on Page 2, the website brings me back to Page 1.

    Can someone please help me resolve this problem?

    Thanks,

    Mithilesh

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @mith143,
    I checked url issues and I found the issue with pagination url.
    Url pagination url is here https://itechstoreca.com/blog/page/2/ .
    Please check url pagination code make above structure. Also check above url and it’s work by default.

    Thanks

    Hey @mith143,
    You can try with below code. This code create pagination with link. Also check you elementor template have some features to add paramenter in pagination link. This code work on php template.

    <div class="pagination">
    <?php
    echo paginate_links(array(
    'total' => $wp_query->max_num_pages,
    'current' => max(1, get_query_var('paged')),
    'prev_text' => '&laquo; Previous',
    'next_text' => 'Next &raquo;',
    ));
    ?>
    </div>

    Thanks

    Thread Starter mith143

    (@mith143)

    Thank you @ravindra107

    I was able to resolve it. I found an option in Elementor to force the URL to include /page/num

    Thanks,

    Mithilesh

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.