• Is it possible to remove the post date from posts in a certain category? I know how to do this in other themes, but can’t figure it out for Hueman.

    I have a list of policies (category ID=6) that need to have a hidden post date. If I remove <p class="post-date"><?php the_time('j M, Y'); ?></p> from the content.php file, it removes it on all archive posts. It needs to be there everywhere except on the policies.

    Thanks for any help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter iwildeachit

    (@terryit3)

    Figured it out with CSS :\

    .category-policies .post-category, .category-policies .post-date {
    display: none; }

    Hi, I am trying to do the same thing with hiding the post dates for SPECIFIC category posts.

    I tried using the same CSS code mentioned above for my own site, (of course substituting “policies” with my own category), but it didn’t seem to work.

    What do you think I am missing? Any feedback would be appreciated.

    Thanks in advance…

    @mbmedia – can you post a link to your site? Thanks.

    Thanks for the reply. Actually, I just resolved the problem by clearing out the plugin cache from the “W3 Total Cache” plugin that I am using.

    For the Hueman Theme, putting the following lines in the CSS file omits the dates in specific category listings of posts:

    .post-category, .category-your-category-name .post-date { display: none; }
    
    .post-category, .category-your-category-name2 .post-date { display: none; }
    
    .post-category, .category-your-category-name3 .post-date { display: none; }

    etc.

    For the Hueman Theme, putting the following lines in the CSS file omits the dates in specific individual posts:

    .post-1001 .post-byline { display: none; }
    .post-1002 .post-byline { display: none; }
    .post-1003 .post-byline { display: none; }

    etc.

    *The specific post number of posts can be found using the “Reveal IDs” plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove post date from posts in a specific category’ is closed to new replies.