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?

4
  • Website URL / Theme? Commented Jan 25, 2018 at 18:20
  • Theme is called smart-mag and there is child theme in the repo, however i cannot share the url Commented Jan 25, 2018 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
    Commented Jan 25, 2018 at 20:24
  • Please read How to Ask
    – admcfajn
    Commented Jan 25, 2018 at 22:25

1 Answer 1

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 and acknowledge you have read our privacy policy.

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