conditional tab display –
-
Hi,
I want to display a tab only if a taxonomy checkbox (y) has been ticked.
any help appreciated.Standard
<?php echo do_shortcode(“[tabby title=My Tab]”); ?>
Conditional – if checkbox has been ticked then display tab – something like
<?php
if(taxonomy_exists(‘myTaxonomy’)){
echo do_shortcode(“[tabby title=My Tab]”);
}
?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘conditional tab display –’ is closed to new replies.