Archived topic
Delete date in sticky post
6 replies · Started by Kristina on November 6, 2022
Hello :-)
I want to hide the date in the sticky post I have on my blog. My blog startpage is the posts page.
I have tried this:.
sticky-post time.wp-show-posts-entry-date.published, .sticky-post .wp-show-posts-separator {
display: none;
}
But it doesn't work, the date remains. How do I?
I have very limited knowledge of php so I would like to have it in css if possible.
Thank you!
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Thank you for quick reply. I add the url to the blog in the private area.
Its only in the sticky post i want to remove the date, not in the other posts in the blog, there the date must stay.
Try this CSS:
.post.sticky .entry-date.published {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Make sure to clear your caching plugin.
Fantastic, it works, thank you so very much Leo.
Im very greatful for your quick reply and we solve this so quick, i love your theme :-).
Have a great evening!
No problem :)