I want to be able to add shortcodes into the wysiwyg editor which will act as if statements based on the value of variables that are posted to the page for example
[if q3==’fire’] <p>blah blah blah</p> [/if]
I also need to be able to nest these statements can anyone recommend the best way to tackle this?
Thanks in advance!
Read more here:: How to create custom wordpress shortcode for if statements