query string into a conditional tags.. how to?
-
Hi there,
I must put a custom query string as
<?php echo get_post_meta($post->ID, “whatiwant”, true); ?>into a conditional tags as:
<?php if (is_category(‘xxxxxxxx’)) { echo ‘hello’; } ?>instead of “xxxxxxx”
how I can write the php code for this..?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘query string into a conditional tags.. how to?’ is closed to new replies.