Getting Started

How to create adynamic trigger?

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:

  1. On your WordPress dashboard go to If-So → Add New
  2. Enter a title.  No pressure, the title is for your own personal use and will not be visible to visitors
  3. Set the condition to display Version A. Version A will be displayed only if the condition is met
  4. Set content for Version A
  5. Fill in the default content (optional).  If you fill in the default content, then that content will be displayed if none of the conditions are met.  If you leave the default content blank, then nothing will be displayed.
  6. Press “Publish”.
  7. Copy and paste the shortcode wherever you want to display the trigger’s content (on pages, posts or widgets).

* 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.

How to create a trigger with more than one dynamic version

  1. Click on “+Add another version” located under the Version A content block
  2. Repeat Steps 3 and 4 for the new version (Version B)

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.

Creating a trigger with multiple versions. If the condition of version A is not met, the condition of version B will be checked and so on

 

Frequent Questions

  • Are there styling options available? If so, how are they accessed?

    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.

  • Can I set dynamic content to be displayed only when multiple conditions are met?

    Yes.

    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.

    Click here to learn more

  • Was this Helpful ?
  • YesNo
Ready to get started?
Try it on your website