Archived topic
Remove Link From Meta in Page Header
3 replies · Started by Naman Nepal on July 22, 2018
Hi,
I want to remove the links in the meta that I add to page header contents like {{post_author}} or {{post_date}}.
I tried adding the code here: https://generatepress.com/forums/topic/disabling-linking-to-authors-posts/#post-110297
However, the code only works when the meta is not on the page header.
What change do I need to make to the code?
Thanks.
Hi there,
Currently this isn't possible in the Page Header without building your own shortcodes (and replacing the template tags with them).
However, we made those elements filterable in the Elements module, which is replacing Page Headers in GPP 1.7. It's available for beta testing here if you'd like to take a look: https://generatepress.com/gp-premium-1-7/
Oh blimey! Elements is awesome! Solves a lot of using CSS to get things done. Already started testing!
Glad you like it! :)