Archived topic
removing arrows still in source code?
5 replies · Started by oboyhehehe on May 17, 2017
Hi i have removed to the "next" "previous" article and its not showing on the page like its should, but when i look in source code it shows like "<span class="prev" title="Previous"><a href=" and so on even though i removed it?
also wondering, the does google look into source code, becase i dont want google to follow the next, previous article links, i want to structure my site manually.
thanks, love the theme!
You could remove the code completely from the source code with this function: https://gist.github.com/generatepress/a6352f8ff0e6fb19453a5008f5d579e0
Let me know if you need more info :)
Thanks i will try but where do i put that code? I'm using a child theme.
This should help: https://docs.generatepress.com/article/adding-php/
Ok i added it in my functions.php and updated and cleared cache, but it's still there in the source code. You got any ideas to fix?
and i realized now i dont use a child theme if that changes anything.
thanks
Can you link me to the page?