ThemeShaper Forums » Thematic


remove "posted in category" for specific categories

(1 post)
  • Started 10 years ago by gretchenlouise
  • This topic is not resolved
  1. gretchenlouise

    I'd like to remove the "Posted in: 'Category'" for two categories on my site (1,110). It must be code similar to what's found here but it's not the same, because it's not just Uncategorized, but a category called Archived as well.

    I found code at that works for other themes, but I wasn't sure how to implement it into Thematic and my functions.php. It replaces
    <?php the_category(', ') ?>
    in the post footer of archives.php or page.php with the following code:

    <?php foreach((get_the_category()) as $cat) { if (!($cat->cat_ID=='1,110')) echo 'category_nicename . '/">'. $cat->cat_name . '' . ', '; } ?>

    Thank you!

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.