Build Your Own Business Website header image


Community Library Website Case Study – Part 53 Show the Term Label Only when a Term Exists

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to - ,

This is the 53rd in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we revise the code we wrote previously so that when there is no taxonomy term associated with a post we don’t display the taxonomy label. We use the get_the_term_list() function to