Exlcude taxonomy term from output
-
This is probably really simple, but I’m just not seeing it.
I have an archive page which outputs a list of posts. Under the title of each I am outputting the categories associated with this.
<?php $location = get_the_term_list( get_the_ID(), 'location', '', ' / ',''); ?> <?php echo wp_strip_all_tags($location); ?>
However, I have one category called coming-soon that I want to hide.
I’m not sure how to amend this code to make that happen.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Exlcude taxonomy term from output’ is closed to new replies.