Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
remove "posted in category" for specific categories « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

remove "posted in category" for specific categories

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

    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 http://forums.themeshaper.com/topic/hiding-category-meta-for-uncategorized but it's not the same, because it's not just Uncategorized, but a category called Archived as well.

    I found code at http://www.spanishseo.org/block-and-remove-wordpress-categories 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 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183