• I have a custom two custom taxonomies one called design_tag (tags) & one called design_category (category).

    They are both used for the custom post design.

    When I try and test for which one is active (in archives.php) using
    <?php if (is_tax( ‘design_tag’)); echo ‘design tag’; ?>
    <?php if (is_tax( ‘design_category’)); echo ‘design category’; ?>
    both lines are output.

    What should I be using ?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Taxonomy and archive pages’ is closed to new replies.