
Selecting Your Dynamic Logic Setup Method
Get to know the 5 setup methods for conditional logic and choose the right one for your needs.
Step 1: Choose Your Logic Framework
If-So offers five methods for displaying conditional content. These methods are grouped into two frameworks:
A. Universal Methods (Works with any page builder)
- Dynamic Triggers: The basic, most versatile option. Suitable for complex, multi-level logic chains and A/B testing. You manage the content in a dedicated interface, and insert it anywhere on your site using a shortcode.
- Dynamic Keyword Insertion (DKI): A zero-setup way to inject real-time text data, such as the user’s location name, a query parameter value, and more.
- CSV Bulk: The Scale Solution. Perfect for managing thousands of content versions. Using an external spreadsheet (Excel/Google Sheets).
B. Integrated methods (Builder-Specific, work directly on the page)
- Conditional Elementor Elements: Apply “Show/Hide” logic directly to any Elementor widget, column, or section.
- Conditional Gutenberg Blocks: Apply “Show/Hide” logic directly to any Gutenberg Block.
The Hybrid Approach: Mixing Methods
You are never locked into a single method. Because Universal Methods rely on shortcodes, they can be nested inside your builder-specific designs.
For example: Trigger + Elementor/Gutenberg, Trigger + CSV, or DKI + Trigger. You can place a Trigger shortcode inside an Elementor Text Editor to run A/B testing within a visual layout.
Step-by-step: General overview of conditional content creation with each method
Below are the general steps for creating conditional content with each method.
Trigger
Elementor
Gutenberg
CSV
DKI
- Create a trigger
- Select a condition and set the personalized content version
- Optional – create more dynamic versions and set the default content
- Paste the shortcode wherever you want to display the content
Every time a page with the shortcode is loaded, one of the content versions will be displayed accordingly.
- Download and activate the If-So Dynamic Content WordPress plugin and the Conditional Elementor elements integration.
- Select the element
- On the side menu, select the condition to display the element
- Select a block.
- On the side menu, select the condition to display the block.
- Download and activate the If-So Dynamic Content WordPress plugin and the CSV Bulks extension.
- On your WP dashboard, go to If-So → Bulks.
- Click “Add a new bulk“.
- Select a condition.
- In column A, set the condition values (for example, if the condition is Geolocation → Countries, column A should contain the country names). One value per row.
- In column B (and any additional columns), enter the content you want to display when a condition is met.
- Save the bulk and paste the shortcode from column B wherever you want to display the dynamic content.
- Use our DKI shortcodes generator to create your DKI shortcode
- Paste the shortcode wherever you want to display the dynamic content.
More about the DKI shortcodes >>