0

How to hide published date programmatically from all posts?

I've tried adding filters, hiding some post metadata, but as I'm new to WordPress didn't figured it out yet.

Can someone help me with this?

  • Website URL / Theme? – Liam Stewart Jan 25 '18 at 18:20
  • Theme is called smart-mag and there is child theme in the repo, however i cannot share the url – Arthur Baghdasaryan Jan 25 '18 at 18:37
  • Options: determine which template and/or partial is responsible for it and modify there with conditional PHP or removal. Find a combination of CSS selectors and hide it with a style rule. – jdm2112 Jan 25 '18 at 20:24
  • Please read How to Ask – admcfajn Jan 25 '18 at 22:25
0

Add entry-date { display: none; } to the stylesheet.
Better create a child theme and add the code to the newly created stylesheet, if you dont you may lose the code when you update your theme to a latest version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.