Creating a IF Statement with Brand
-
Hello!
I’m trying to write a basic if statement that will query the brand selected but do not seem to being having much luck.
I’m using the following:
<?php if(get_field('pwb-brand') == "MYBRAND") { echo 'SOMETHING ABOUT MYBRAND...'; } ?>
Any help would be really appreciated.
- The topic ‘Creating a IF Statement with Brand’ is closed to new replies.