- This topic has 1 reply, 2 voices, and was last updated 6 months, 1 week ago by .
I am trying to use the technique found here to display content if one of my fields has a certain value.
In my specific use case, I have a Switch field and want different content to display depending on On/Off status. This is what I have:
[wpbb-if post:meta_box field='super_fox' exp='equals' value='1']<i class="fab fa-firefox" style="margin:0 .5rem;"></i>[/wpbb-if]
The Firefox fontawesome icon does not disappear if I flip the Switch to Off despite the database showing a value of 0.
Am I making a simple mistake in the shortcode syntax?
- You must be logged in to reply to this topic.