Site logo

Archived topic

After Header hook problem

4 replies · Started by marcel on September 15, 2016

Viewing posts 1–5 of 5

Hey tom !
I try this and no work..

<?php if ( is_tax("Sauna") ) : ?>
Sauna
<?php endif; ?>

<?php if ( is_tax("Spa") ) : ?>
Spa
<?php endif; ?>

No detect de tax.. , in sauna category page show : Sauna Spa
in piscina category page show : Sauna Spa

Some content..

Thanks

If both are displaying, it means that the conditional returns true for both pages.

Another possible reason is you don't have "Execute PHP" checked.

THANKS TOM. But Execute PHP” checked in both..

When is checked display nothing
If not checked display : Sauna Spa

This archived topic is closed to new replies.