Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1148437

    Hey guys, I have ‘private’ products inside woocommerce that are hidden from guests.

    This is done by another plugin, but enfold still links the hidden products with the next and prev buttons on the sides of the screen.

    This creates hundrets of 404-errors for google.

    Is there a way to disable them code-wise inside the functions php without edeting the enfold files?
    I don’t want to edit the files on every update…

    #1148537

    Hey Luca,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1148874

    Link is attached, the buttons are hidden via CSS but they are still in the code for the crawlers to find.

    I could remove them like descriped here but that would mean I have to edit that file everytime theres an update…

    #1148970

    Hi,

    You can use the removal method. You would just need to use a child theme to protect them from updates.

    Best regards,
    Jordan Shannon

    #1149237

    I created a copy of the functions-enfold.php in my child theme and deleted the function, but it still shows the buttons.
    I need some more help on how to do this

    #1149325

    Hi Luca,

    Yes, because the code still exists in the parent theme.

    Here are some more solutions for you.
    https://kriesi.at/support/topic/remove-left-and-right-post-navigation-function/#post-452706

    Or you can go to the theme option and disable the post nav there
    Image 2019-10-18 at 17.01.32.png

    Best regards,
    Victoria

    #1149733

    Thank you Victoria, that was what I’m looking for!

    #1149774

    Hi Luca,

    Glad we could point you in the right direction.

    If you need further assistance please let us know.

    Best regards,
    Victoria

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