Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #11524

    Is there a way to remove the date stamp for specific categories?

    We don’t want to remove the published date from all posts, just ones from one category.

    #72039

    Hi hysteric,

    What I would do is add the CSS below to your custom.css or Quick CSS.

    body.category-interesting .date-container { display:none; }

    Now you would replace interesting with your category slug-name or ID.

    Regards,

    Mya

    #72040

    This is what we put into the custom CS and it didn’t work. Any suggestions?:

    body.category-classicmusic .date-container {

    display:none;

    }

    body.category-classicfilmtv .date-container {

    display:none;

    }

    body.category-classicbooks .date-container {

    display:none;

    }

    #72041

    Hi hysteric,

    Can you post a link to your website that way I can do some testing?

    Regards,

    Mya

    #72042

    Sure:

    http://www.polarimagazine.com

    The section we are looking to remove the date stamp is in our Classics sections found under Reviews.

    Thank you.

    #72043

    Hey hysteric,

    It looks like you might have gotten this figured out. Looking at http://www.polarimagazine.com/category/classicfilmtv , I don’t see the date any longer but I do see it on some of the other categories.

    Let us know if you still need any help :)

    Regards,

    Devin

    #72044

    Hey Devin –

    We have managed to remove it there, yes. But when you go into the posts themselves the date marker remains:

    http://www.polarimagazine.com/classicfilmtv/death-nile

    Cheers –

    Bryon

    #72045

    Hi Bryon,

    There is not any kind of category identifier in the page that would allow a css fix for that (as far as I know). You’ll need to write some kind of an if then statement in the single post template to remove the date from being displayed if the page is one of your chosen categories.

    Regards,

    Devin

    #72046

    Ok –

    Thanks for your help Devin.

    #72047

    Let us know if you have any more questions.

    Regards,

    Mya

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Removing the Published Date’ is closed to new replies.