Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14329

    Hi, and thank you for this fantastic theme.

    The site I’m working on (http://www.jobsource.ie) lists job vacancies, but I’m trying to set aside a blog category for news items. What I’d like to do is remove the date information from the listings, including on single posts, but keep this information visible for news items. Is there a shorthand way to do this using theme options? Or is there perhaps a CSS/PHP snippet that would do the trick?

    Thanks.

    #82961

    Hi,

    Go to includes > loop-index.php then find this code

    <?php echo get_the_date(); ?>

    Try to add conditionals just like this

    <?php if ( in_category( 'news' )) { echo get_the_date(); } ?>

    Regards,

    Ismael

    #82962

    Thank you. That’s worked perfectly.

    #82963

    Glad Ismael could help! Let us know if you have more questions.

    Regards,

    Mya

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

The topic ‘Blog Categories Meta-Data’ is closed to new replies.