variable in the category template
-
i use a config.php with variables as
<?php $cat01 = "sky"; $cat02 = "sea"; ?>
and i’d like to add $cat01 to this category template:
<?php if (is_category('Category A')) { ?>
how can i add $cat01 in place of Category A
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘variable in the category template’ is closed to new replies.