• WordPress.com
  • Forums
  • Plans & Pricing
  • Log In
  • Get Started
  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • Enterprise
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • WordPress.com Support
  • News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Popular Topics
  • Daily Webinars
  • Learn WordPress
Get Started
  • Sign Up
  • Log In
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • Enterprise
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Support
  • News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Popular Topics
  • Daily Webinars
  • Learn WordPress

WordPress.com forums

Get help with WordPress.com, the free blogging platform, and the WordPress.com apps.

en WordPress.com Forums Suppress Post Date (Edin)

Suppress Post Date (Edin)

  • 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)

  • 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;
    }
  • 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.

  • 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.

  • 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!

  • 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?

  • 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

  • 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 8 years
  • Latest reply from rjbinney
Advertisment

WordPress.com

WordPress.com WordPress.com Logo

Products

  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Professional Email
  • P2: WordPress for Teams
  • Website Design Services
  • Enterprise Solutions

Features

  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps

Resources

  • WordPress.com Support
  • WordPress Forums
  • WordPress News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
  • Daily Webinars
  • Learn WordPress
  • Developer Resources

Company

  • About
  • Partners
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users

Language

Mobile Apps

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

Social Media

  • WordPress.com on Twitter Twitter Icon
  • WordPress.com on Facebook Facebook Icon
  • WordPress.com on Instagram Instagram Icon
  • WordPress.com on YouTube Youtube Icon
An Automattic invention
Work With Us
    • WordPress.com Forums
    • Customize
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions