Archived topic
Not able to Remove date in Read Theme or SiteLibarary
6 replies · Started by Gopi on March 16, 2021
Recently installed Read form site lib, but I could not remove the date from the single post screen.
Note I don't want to hide using display none. I want to remove it.
Hi there,
Can you link us to the page in question? So we could check and come up with the most appropriate solution.
You can use the private information text field to add your link if you wish to keep it private:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
I have attached the screenshot.
Ah I see now.
That's something added on a Header Element.
https://docs.generatepress.com/article/header-element-overview/
These Elements are found on Appearance > Elements.
By default, Read comes with a Header Element for post pages.
You most likely have an element named "Blog Posts Headers" with is using a {{post_date}} template tag
https://docs.generatepress.com/article/header-element-template-tags/#post_date
You can remove the {{post_date}} so the date doesn't display.
Oh great Thanks
Instead of a date, I want to add a Category what is the tag or code for that.
{{post date}} i need post category
I am good I got it.
The other template tags are found here:
https://docs.generatepress.com/article/header-element-template-tags
Nice one! Glad you got it sorted.