I have some code that lists the category of the post you are currently on like so...
<?php $categories_list = get_the_category_list( __( ', ', 'sitename' ) );
if ( $categories_list && sitename_categorized_blog() ) :?>
<span class="cat-links">
<?php printf( __( 'ALL NEWS FOR %1$s', 'sitename' ), $categories_list ); ?>
</span>
<?php endif; // End if categories ?>
This works great, but I just added a new ctegory called 'featured-posts'. How do I exclude this featured-posts category (either by name or ID), from appearing in the menu generated by above code?
So instead of the result...
ALL NEWS FOR: CATEGORY NAME, FEATURED POST
I just get...
ALL NEWS FOR: CATEGORY NAME