• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / how to remove entry dates on posts

how to remove entry dates on posts

  • Unknown's avatar
    thelalalander · Member · Jun 23, 2015 at 9:30 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi,

    I was wondering if someone might be able to explain to me if I would be able/how to remove entry dates to posts with the opti theme on a premium package?

    Thanks,

    Ryan

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    kathrynwp · Staff · Jun 23, 2015 at 3:36 pm
    • Copy link Copy link

    Give this a try and let me know if it does the trick. It should remove the word “on” in addition to the date itself.

    .postmetadata em, .postmetadata .entry-date {
     display: none;
    }
  • Unknown's avatar
    thelalalander · Member · Jun 23, 2015 at 3:59 pm
    • Copy link Copy link

    Thanks for getting back to me. I deleted the welcome message and inserted the code and saved it, I believe, under the appropriate CSS space. Mine looked like this when I was done:

    1 .p`ostmetadata em,
    .postmetadata .entry-date {
    2 display: none;
    3. }`

    Will I know if this has worked only once I start to post, or is there some other way to verify beforehand?

    Thank you!

  • Unknown's avatar
    kathrynwp · Staff · Jun 23, 2015 at 4:07 pm
    • Copy link Copy link

    There is a stray character in the CSS – sorry about that!

    Please go back into your Customizer and change this:

    .postmetadata em, .postmetadata .entry-date {
    display: none;
    }`

    to this:

    .postmetadata em, .postmetadata .entry-date {
    	display: none;
    }

    You will see the change when previewing your post.

  • Unknown's avatar
    kathrynwp · Staff · Jun 23, 2015 at 4:08 pm
    • Copy link Copy link

    Sorry, the code formatting keeps getting mangled. Just remove any stray ` characters in your CSS – those shouldn’t be there. Let me know how it goes.

  • Unknown's avatar
    thelalalander · Member · Jun 23, 2015 at 4:12 pm
    • Copy link Copy link

    It worked! A big help, thank you!

  • Unknown's avatar
    kathrynwp · Staff · Jun 23, 2015 at 4:41 pm
    • Copy link Copy link

    Great, glad that did the trick!

  • The topic ‘how to remove entry dates on posts’ is closed to new replies.

Tags

  • entry date

About this topic

  • In: CSS Customization
  • 2 participants
  • 6 replies
  • Last activity 11 years
  • Latest reply from thelalalander

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions