-
AuthorPosts
-
October 16, 2019 at 12:26 pm #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…October 16, 2019 at 5:45 pm #1148537Hey Luca,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan ShannonOctober 17, 2019 at 10:58 am #1148874Link 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…
October 17, 2019 at 4:20 pm #1148970Hi,
You can use the removal method. You would just need to use a child theme to protect them from updates.
Best regards,
Jordan ShannonOctober 18, 2019 at 12:11 pm #1149237I 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 thisOctober 18, 2019 at 4:01 pm #1149325Hi 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-452706Or you can go to the theme option and disable the post nav there

Best regards,
VictoriaOctober 21, 2019 at 8:13 am #1149733Thank you Victoria, that was what I’m looking for!
October 21, 2019 at 10:17 am #1149774Hi Luca,
Glad we could point you in the right direction.
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
