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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.