How to display diffrent content based on the meta_value
-
<?php $my_query = new WP_Query('meta_key=Product&meta_value=Shirts') ?>
How can I use above in some kind of conditional statement.
I need to display different content based on the meta_value that is entered into the custom field
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to display diffrent content based on the meta_value’ is closed to new replies.