- This topic has 33 replies, 7 voices, and was last updated 8 years, 5 months ago by
Tom.
-
AuthorPosts
-
April 28, 2017 at 2:33 am #311387
Enrico
Hi Tom,
now I use hide CSS, but now I would like to completely remove previous/next post. Is this code still good?It is more then two year old and I don’t want to have issue, for example with hatom or new versions of generatepress
Thanks a lot
EnricoApril 28, 2017 at 8:59 am #311567Tom
Lead DeveloperLead DeveloperI just updated it to something more current 🙂
April 28, 2017 at 10:03 am #311619Enrico
Thanks a lot Tom!
April 28, 2017 at 8:05 pm #311799Tom
Lead DeveloperLead DeveloperNo problem! 🙂
May 21, 2017 at 4:24 pm #321843Johannes
Hi,
Is this code still relevant? Tried it in the functions file. Didn’t remove the previous/next.
I prefer to remove this sort of thing with a function, not CSS.
Thanks.
May 21, 2017 at 6:14 pm #321900Tom
Lead DeveloperLead DeveloperYes, this code works: https://gist.github.com/generatepress/81709146251f7a9b645a
How are you adding it?
May 22, 2017 at 12:18 am #322000Johannes
Hi Tom,
Thanks for the reply. I’m using the Cobalt Apps GP Extender. Should I ask over at Cobalt Apps?
May 22, 2017 at 12:48 am #322031Tom
Lead DeveloperLead DeveloperMaybe try one of these methods first just to make sure it works?: https://docs.generatepress.com/article/adding-php/
May 22, 2017 at 12:56 am #322035Johannes
That doesn’t seem to work…
I removed the code from the GP Extender and added it to code snippets, then refreshed the front end. The previous/next is still there.
I set the scope to run snippet everywhere and Only run on site front-end. None of those options work.
May 22, 2017 at 11:15 am #322314Tom
Lead DeveloperLead DeveloperCan you send me temporary admin login details?: https://generatepress.com/contact/
May 22, 2017 at 11:23 am #322324Johannes
Tom,
Please contact me at blomjansie [at] gmail.com with the email I should use to set you up as admin. Let me create you an admin with your email, if you don’t mind.
October 16, 2017 at 10:26 am #404300Enrico
Hi Tom,
I am using your last php code to disable post navigation.I noticed that in all my site’s posts this tool http://www.seoreviewtools.com/html-headings-checker/ find an h6.
It say:
H6: Post navigation
I tried other similar tools and I had the same result, they find the “H6: Post navigation” in all the posts of my blog jobseekeritalia.
I don’t find this “post navigation” txt in my posts.
Do you have any idea of the cause of this problem?
Thanks a lot
October 16, 2017 at 1:45 pm #404439Leo
StaffCustomer SupportHi there,
Not sure what you mean? Can you link us to the page where you see the problem? Thanks!
October 16, 2017 at 1:54 pm #404449Enrico
Hi Leo,
I see the problem in all posts when I use that tool.October 16, 2017 at 7:17 pm #404543Tom
Lead DeveloperLead DeveloperI’m adding a filter into the theme which will allow us to remove the entire post navigation element.
For now, do this so screen readers don’t read it:
.post-navigation { display: none; } -
AuthorPosts
- You must be logged in to reply to this topic.