Web & Software Developer

Posts Tagged “WordPress custom taxonomy”

Conditional Statement For a Custom Taxonomy

In a WordPress template, sometimes you want to do something only for one single term of custom taxonomy, not for all posts using the custom taxonomy. For example, say you’ve created a custom taxonomy, ‘Fruits’ and it has some terms: bananas, oranges, apples. And say you want to do something only for posts that have … Read more →