You could do it like this:
<?php
$exclude = array( 'home-featured' );
foreach( get_the_category() as $category ) {
if ( ! in_array( $category->cat_name, $exclude )
echo $category->cat_name . ' ';
}
?>
You could do it like this:
<?php
$exclude = array( 'home-featured' );
foreach( get_the_category() as $category ) {
if ( ! in_array( $category->cat_name, $exclude )
echo $category->cat_name . ' ';
}
?>