Need help? Check out our Support site, then


How Do I Remove The Date From All Sticky Posts?

  1. I am using the Autofocus Theme - have tried repurposing some of the suggestions people have posted for other themes in my CSS editor, but I am not getting anywhere. I'd just like to get rid of the dates on the sticky posts only. Thanks so much!!

    Jules

    The blog I need help with is juliawilde.com.

  2. I checked http://juliawilde.com/ and I don't see dates on any of the sticky posts there. If you still need help, please post a link to where we can see the problem happening.

  3. Hi there, The dates are in the actual post itself - http://juliawilde.com/2012/02/19/40/

    Thanks!!

  4. Ah, okay. Sticky posts only are differentiated when they appear in lists, like the home page, but there is not a way to style sticky posts separately for individual posts like that.

    Also, the individual posts display a date heading on the right followed by the post date and time as well as category links.

    You could remove just the heading part, but note that it would affect all posts not just sticky ones:

    .entry-date {
    	display: none;
    }

    Or you could remove all of the post meta completely like this:

    #entry-content {
    	width: 800px;
    }
    #entry-meta {
    	display: none;
    }

    Add one example or the other to your Appearance → Custom Design → CSS page and click the preview button to try them out.

  5. "Sticky post" is only a class relative on the main page of the site. Once you go to http://juliawilde.com/2012/02/19/40/ , then you are viewing what is called a "single-post" and you can hide the date display, but it will hide the date display for ALL posts when viewing a single-post.

    .entry-date {
    display: none;
    }
  6. G'day @designsimply. I should have refreshed.

  7. Hi!! You're post is awesome; I was trying to think of a good way to explain sticky posts and single posts and yours does it.

  8. you guys are fully rocking my world right now - thank you so much. @thesacredpath, thank you for such a concise explanation and @designsimply, thank you for preempting my next OCD moment with info on removing all post meta. done! woo!

  9. That was part of the reason it took me so long to post. I had to think about how to explain it - and break up a cat fight outside. It seems word has gotten out in the local feral cat community that I'm a soft touch and will always put out food. Now if only I can get them all to get along.

  10. You are welcome from me.

  11. you know the feral cat community: chatty cathys.

  12. Heh, I like that. Chatty cathys.

Topic Closed

This topic has been closed to new replies.

About this Topic