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

    Hi, and thank you for this fantastic theme.

    The site I’m working on ( 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?




    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(); } ?>




    Thank you. That’s worked perfectly.


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



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

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