Site logo

[Support request] remove from the code nav-previous

Home Forums Support [Support request] remove from the code nav-previous

Home Forums Support remove from the code nav-previous

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2490580
    Jonathan

    Hi,
    At the end of all my cetagory pages. I have two paginations that show up in the code.

    one is under the class=”nav-previous” and the other one is class=”nav-links”.

    I would like to know how to remove nav-previous from the code, not only display: none, but really remove from the front end code.

    Thank you

    #2490817
    Fernando
    Customer Support

    Hi Jonathan,

    nav-previous is only hidden if you’re on page 1. It would show on pages 2 onwards.

    It’s basically part of the navigation structure. You can check it by going to page 2.

    To clarify, do you want to remove the “previous” button in the archive navigation?

    #2491408
    Jonathan

    I want to remove the whole div with the class=”nav-previous” as this show up as an error in search console.

    Is there a place in WP code editor that I can remove or comment this section?

    I can’t find this section in code editor.

    Thanks

    #2491612
    David
    Staff
    Customer Support

    Hi there,

    its not easy to remove as its baked into this function, simple option may be to unhook the navigation and use the WP-PageNavi plugin

    Link here from support topic show how to integrate:

    https://generatepress.com/forums/topic/add-pagenavi-and-remove-not-hide-generatepress-navigation/#post-2277054

    Out of curiosity what is the Search Console error it is causing ?

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