Tag: has_tag
Conditional Tags for Custom Taxonomies in WordPress
by
Curtis McHale
WordPress 3.0 gave us custom taxonomies and since we’re using them regularly we’re also getting into conditional tags with our custom taxonomies. Conditional tags for taxonomies differ from conditional tags for regular categories or tags. Below is an example of using a conditional tag for the standard ‘misc’ category found in WordPress. [php] if( is_category(…