A dynamic trigger consists of a default version, and at least one dynamic version. The dynamic version will be displayed if a condition you set is met. The default version will be displayed if none of the conditions of the dynamic version are met.
How to create a trigger:
* If you are a developer and would like to embed the trigger directly into page templates – press “PHP code (for developers)” and paste that code into your files.
You can add as many dynamic versions as your heart desires. Version B’s condition will be checked only if Version A’s condition is not met. The Default Version will display if no conditions are met.
If-So uses a TinyMCE editor with both visual and text (HTML) modes so that you can basically set up any content.
If you are using a page builder and are looking for a more convenient way to design your content, the styling options that are available for you are:
Gutenberg Users - You can assign conditions directly to a block (or group of blocks) instead of creating dynamic triggers. See how.
Elementor Users - Save any widget or section as a template and apply it inside an If-So trigger using a shortcode. See how.
Other page builders - Design your dynamic content in a new page and use the shortcode [ifso-show-post id="123"] inside your If-So trigger to display the page content as your dynamic version. See how.
Though the option to display a dynamic version based on multiple conditions is not built into the plugin interface, the same result can be achieved by nesting shortcodes. ie. creating a trigger and pasting its shortcode within a dynamic version content field of another.