• 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 / Suppress Post Date (Edin)

Suppress Post Date (Edin)

  • Unknown's avatar
    rjbinney · Member · Nov 7, 2016 at 12:34 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I am ready to cry. Or scream. Or something.

    I would like to remove the post date from all posts on my site. I have done a ton of Googling and the best I’ve found is:

    .post .entry-meta {
    	display: none;
    }

    Trouble is, it also removes author.
    I tried

    .post-date {
        display: none;
    }

    and it didn’t do anything.

    I’m currently using Edin theme, but may change. It seems this might be theme-specific because I added the first batch of code to my other WP site B-Spoke, and it didn’t do a darn thing (it’s on Gazette theme).

    Thanks!

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

  • Unknown's avatar
    melindahelt · Staff · Nov 7, 2016 at 1:13 am
    • Copy link Copy link

    Hi.

    I looked at your rjbkmoadventures.com site, and I do not see any dates on your posts. So it looks like you were able to figure that one out?

    On your B-Spoke site (Gazette theme), the theme code is a little different. Try this one to remove the date from the posts on that site:

    time.entry-date.published {
        display: none;
    }
  • Unknown's avatar
    rjbinney · Member · Nov 7, 2016 at 1:35 am
    • Copy link Copy link

    Right. The code works – but it also removes the author name. I was hoping to remove the date and leave the author?

    I actually don’t WANT to remove the date from B-Spoke, but I was experimenting – which led to the discovery that different themes require different code.

    The reason why THAT’S important to me is, I don’t know that I’m married to Edin for the Adventures site…

    For giggles, I tried the code you sent me for Gazette on Edin, and got:
    “POSTED ON BY RJBINNEY”. So it stripped the DATE but not the text. (Which I guess is why it’s different, coz on Gazette it just lists the date not the “Posted On”.) DAMN this is confusing me.

  • Unknown's avatar
    melindahelt · Staff · Nov 7, 2016 at 1:44 am
    • Copy link Copy link

    I’m sorry for the confusion and misunderstanding of your question!

    Yes, it can be a bit confusing because each theme is different and requires different code to edit the CSS. So, if you change themes, you’ll need to figure out which CSS selector to use each time.

    To remove just the date on Edin, give this a try:

    span.posted-on {
        display: none;
    }

    You’ll also want to make sure you remove the following from your CSS editor so that the author name will re-appear.

    .post .entry-meta {
        display: none;
    }

    and

    .byline, .updated {
        display: none;
    }

    Let me know if that works for you.

  • Unknown's avatar
    rjbinney · Member · Nov 7, 2016 at 2:45 am
    • Copy link Copy link

    Great – that worked perfectly.

    I didn’t need to remove the “.byline” bit – that wasn’t in my stylesheet, and as soon as I put in your “span.posted-on” command, it showed the author.

    In the meantime, I figured out how to activate “Manual Excerpt” whilst Googling for a solution for this issue – which resolved something HUGE that had been bothering me. So, if nothing else, that’s a big win for me!

  • Unknown's avatar
    thesacredpath · Member · Nov 12, 2016 at 5:23 pm
    • Copy link Copy link

    Hi there, for the date, I see you have used the Content Options in the Customizer to hide the date on your posts. Is there anything else you need help with on these issues?

  • Unknown's avatar
    rjbinney · Member · Nov 12, 2016 at 10:13 pm
    • Copy link Copy link

    Thanks, yeah. It was acting up sporadically, hence the goal of fixing it for good in CSS. Thanks

  • Unknown's avatar
    thesacredpath · Member · Nov 14, 2016 at 2:00 pm
    • Copy link Copy link

    Let me know if it acts up again.

  • The topic ‘Suppress Post Date (Edin)’ is closed to new replies.

Tags

  • Edin
  • remove post date

About this topic

  • In: CSS Customization
  • 3 participants
  • 7 replies
  • Last activity 9 years
  • Latest reply from rjbinney

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