header title

Basic Graphic Asstes Google Drive)

Dynamic URL https://www.if-so.com/we-got-it/design-template-3-con-new-style/

Slider Test (WebM + One Live Example Slide)

Geo Redirect
Auto-Redirect visitors by geolocation to the relevant page.
Geo Pop-Ups
Show a location-based pop-up with tailored messages or offers that match the visitor’s location.
Geo Base-content
Personalize your website with dynamic content that adjusts to each visitor’s location.
Geo Woo Products
Geo-Based Woo Products
Show or hide WooCommerce products and pricing based on the visitor’s location.
Self-Location Selection
Let users manually choose their country with an easy-to-use country selector.
Geo DKI
Display dynamic keyword insertion to add location-based keywords and personalize your content.
Geo Menu
Geo Menu
Create a dynamic menu that shows different navigation items depending on the visitor’s location.
Geo Block
Block access for visitors from selected countries on any page you choose.
Geo Post
Display or hide posts automatically based on user location to customize visibility for different audiences.

If-So works with every page builder. Setting up conditional content is extremely simple, no coding is required.

❌ ✅

Titles

H1 Heading Design

H2 Heading Design

H3 Heading Design

H4 Heading Design

H5 Heading Design
H6 title above list

✅ Bullets

  • Replace the background of your website at night or when the business is closed.
  • Change the design of your site based on the season of the year.
  • Bullet with link (see how we dressed up our homepage for Halloween).
  • External link that opens in a new tab example
wordpress conditional menu 1

✅ Text

If-So is the most comprehensive WordPress personalization plugin. We continuously develop new features and options to meet the diverse needs of our real-life users.

Standard text introduction of bullets:

Bold Text Title 1
Assign users into predefined audiences based on the user’s interaction with the site and then show content based on the user’s audience.
Learn more >>

Bold Text Title 2
Allow users to select the content they will see by assigning themselves to an audience (segment).
Learn more >>

Bold Text Title 3
Create pop-ups that will be displayed based on any If-So condition.
Learn more >>

✅ Numbered List

  1. Create a trigger
  2. Select a condition and set the personalized content version
  3. Optional – create more dynamic versions and set the default content
  4. 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.

✅ Numbered List

  1. Create a trigger
  2. Select a condition and set the personalized content version
  3. Optional – create more dynamic versions and set the default content
  4. 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.

❌ Live Demo

livedemocharacter Fill in your name to see it in action

Fill in your name to see it in action

Try it Out:

Selection Field

Select your gender:
{"type":"select","options":"Male, Female","default-option":"Select Gender","self_select_form_type":"group"}

Radio Buttons

Select your gender:

{"type":"radio","options":"Male, Female","default-option":"Gender","self_select_form_type":"group"}

Buttons

Select your gender:

{"type":"button","selection":"Male","options":"Male","button":"Male","classname":"default-auss-form","self_select_form_type":"group"} {"type":"button","selection":"Female","options":"Female","button":"Female","classname":"default-auss-form","self_select_form_type":"group"}
https://www.if-so.com/self-selection-form/manual-user-location-selection

Dropdown

Radio Buttons

Buttons

{"options":"FR,IL","labels":"France","type":"button","selection":"France","geo-type":"countryCode","self_select_form_type":"geo"}

❌ Notifications

i
This is an info message. Lorem ipsum has…
This is an info message. Lorem ipsum has…
!
This is an info message. Lorem ipsum has…
!
This is an info message. Lorem ipsum has…
!
This is an info message. Lorem ipsum has…

Inline Examples

Common Use Cases – 2 columns

Create promotions in specific countries

promotions in specific countries

Highlight different products in chosen locations

Highlight different products in specific locations

Direct visitors to the closest branch

Direct users to the nearest branch

Show personalized messages to visitors from certain locations

Location-based messages

Examples – Content Aside

Limited-time offer
Create a sense of urgency with a limited-time offer.

Countdown limited-time offer

Recurring countdowns
Add a sense of urgency by showing a timer that will start counting down an hour before closing.

Conditional timers
Start counting down from the moment the user has visited a certain page or committed a purchase.

✅ Intro 1-2-3 → Elaboration

Creating a user selection form involves three steps:

STEP 1 Create audiences (groups of users)
STEP 2 Ceate the selection form

Step 1: H3 title – content, bullets

  1. On your WordPress admin page, go to If-So > audiences.
  2. Type your desired audience name and click “Create a new audience.”
  3. Repeat this action as necessary to create additional audiences

Step 2: H3 title – Shortcode and attributes

Use the following shortcode to create a selection form:

✅ Shortcode & Parameters

[ifso_group_selection type='select' options='Male, Female' default-option='Gender' ajax="yes" button='Go']

You can control the form’s appearance using the following parameters:

Options – Include the audience names as created in Step 1. When a user selects an audience, they will be removed from all other audiences in this list.

Type

  • Type=”radio” – This option creates a form with radio buttons instead of a select field.
  • Type=”Button” – Create a button that adds users to an audience.

Button=”text you choose” – Remove this parameter if you don’t want to use a button. Change the parameter value to set the text of the button

An example of a self-selection form with a button:

ajax=”yes” – add this parameter if you don’t want the page to be reloaded automatically after the users submits their selection.

Example: Radio buttons without a button:

Default-option=”Text you choose” – The value of the parameter will be the default option of the form. This allows users to cancel their selection and view the default content.

To use the Flags DKI Shortcode, you need to install the If-So Geolocation extension, which is available for free.

US flag
US flag
US flag

Below is the shortcode that displays the flags above:

[ifsoDKI type='geo' show='flag' width='50']
top qutos

Dynamic keyword insertion boosted our PPC campaigns.
Conversion rates improves by 13%!

mike avatar

Mike D Digital Marketer

✅ Table Design

SpecifierDescriptionExample Output
dDay of the month, 2 digits with leading zeros01 to 31
DA textual representation of a day, three lettersMon through Sun
jDay of the month without leading zeros1 to 31
l (lowercase ‘L’)A full textual representation of the day of the weekSunday through Saturday
NISO-8601 numeric representation of the day of the week1 (for Monday) through 7 (for Sunday)
SEnglish ordinal suffix for the day of the month, 2 charactersst, nd, rd or th. Works well with j

Conditional trigger – How does it work?

Setting up conditional content using a trigger is extremely simple, no coding is required. Simply:

  1. Create a new trigger
  2. Select a condition/s and set the personalized content for each version
  3. Paste the trigger’s 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.

Learn more

If you need to create conditional content with a lot of different versions (dozens or even thousands), please check out our CSV extension. The extension allows you to create dynamic content directly from a CSV file and manage the different versions in a simpler way.

Notices

TIP

Display dynamic content on parameters other than “?ifso=”

Use the Page URL condition instead and set it as follow

  1. Select the block or element
  2. On the side menu, select the condition to display the block/element
Note

Gutenberg & Elementor users

Gutenberg and Elementor users may create dynamic content in an alternative way:

  1. Select the block or element
  2. On the side menu, select the condition to display the block/element

More about conditional Elementor Elements
More about conditional Gutenberg Blocks

Display dynamic content on parameters other than “?ifso=”

Use the Page URL condition instead and set it as follow

  1. Select the block or element
  2. On the side menu, select the condition to display the block/element
Tip

Display dynamic content on parameters other than “?ifso=”

Use the Page URL condition instead and set it as follow

  1. Select the block or element
  2. On the side menu, select the condition to display the block/element

Screenshots

Trigger
Gutenberg
Elementor
Conditions
Built in analytics
DKI
Page caching
Audiences
User select
Recurrence

Screenshots with caption

Geolocation log file analysis
Geolocation log file analysis
Geolocation IP analysis
IP lookup example (data center)

FAQs

  • Does If-So work with caching plugins and server-side caching?

    Yes.

    Whether you are using a caching plugin or server caching, you can navigate to the plugin settings and enable the “Page Caching Compatibility” option.

    With the option enabled, dynamic triggers will be rendered in a separate request that will take place after the loading of the cached version.

    Learn more about Page Caching Compatibility.

  • Is it possible to set up conditional redirects (redirecting users to different pages based on conditions)?

    Yes, you can set up conditional redirects based on any If-So condition.

    For a step-by-step guide, click here.

FAQs

How can I change the user self-selection form design?

When you generate the self-selection form using our form generator, you can also set a design for the form, and the CSS will be generated for you.

Applying the CSS to your site is possible in several different ways, and having development skills is not a requirement. How to add custom CSS to your WordPress site

Does the user’s self-selection carry across all pages of the site?

Yes, once a user self-selects, the selection is carried across all pages of the site. The solution is based on a cookie. If the user deletes the cookie or visits the site using another browser, the selection will not be saved.

DKI Generetor

Geolocation

Display the visitor`s location name (country, state, city, conteinet, or timezone).

Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

Browser Language

Display the visitor`s browser-defined language/s.

Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

Referrer

Display the referring URL or domain that led the user to the site. Demo.

Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

View Count

Visit Count – The total number of pages visited by a specific user.
Trigger View Count – The number of times a specific trigger was seen by a visitor.

For trigger view count only.
Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

Query String

Displays a value from a URL parameter. Example: domain.com?firstname=David – shows “David”. Demo.

The parameter name without the “?” or “&” prefix. For instance: example.com?param=value
Once the dynamic value is displayed, it will be saved and shown across all pages.
Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

Google Ads

Display a value from Google Ads tracking parameters. The value can display the triggered keyword automatically or be set manually. Learn More.

The parameter name without the “?” or “&” prefix. For instance: example.com?param=value
Once the dynamic value is displayed, it will be saved and shown across all pages.
Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

Day of the Week

Insert the current day (e.g. Tuesday).

Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

Local Time Display

Automatically shows the event time in the visitor’s local timezone.Demo.

Set time only for a daily event (HH:MM), or add a date for a one-time event (HH:MM mm/dd/yyyy)
Choose how the time will appear to the user. Additional formatting options can be set manually. Learn More
Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

IP address

Show the visitor’s IP address.

Shown if dynamic value is unavailable.
Shown only if a dynamic value is available (ignored in fallback content).
Shown only if a dynamic value is available (ignored in fallback content).

Show Post

Displays content from another post or page. Handy for designing dynamic content with your page builder and injecting it into a trigger. Learn More.

If you used a listed page builder to create the post, select it here.
Alter this option if the shortcode breaks the content design

Redirect

Forward visitors to a different URL when they encounter the shortcode. Use this shortcode inside a trigger to create conditional redirects .

To avoid repeated redirections each time the visitor encounters the shortcode, enter a limiting duration in seconds (e.g., 86400 for one day).
Set a unique identifier of your choice. Required to use the “prevent repeated redirects” option.

Login/Out Link

Show a login or logout link based on the user

User Details

Display data from the logged-in WordPress user. Learn More.

Displays if the user is not logged in or the field is not available

Step-by-step: How to generate a manual user location selection form

The location override functionality requires the User Self-selection Extension and the geolocation extension to work.

Once you have those installed, follow these steps:

  1. In your WordPress dashboard, go to If-So → Geolocation, then click the Geolocation Override tab. Screenshot
  2. Choose the form type: Dropdown, Radio Buttons, or Buttons.
  3. Click Add location, then select the locations to include. Screenshot
  4. Optional: Change/translate each location’s Display name (the front-end label). Screenshot
  5. Complete the remaining generator fields as prompted.
  6. Copy the generated shortcode and paste it wherever you want the form to appear on your site.

Styling your form

By default, the form’s design inherits your theme’s styling. For your convenience, if you’d like to override the default appearance, we’ve included a built-in CSS generator in the form editor.

Simply customize your form using the generator, then copy the generated CSS and paste it into your theme’s style.css file or directly into the page using an HTML block wrapped in <style> tags.

Step-by-step – all methods (tabs)

The location override functionality requires the User Self-selection Extension and the geolocation extension to work.

  1. In your WordPress dashboard, go to If-So → Geolocation, then click the Geolocation Override tab. Screenshot
  2. Choose the form type: Dropdown, Radio Buttons, or Buttons.
  3. Click Add location, then select the locations to include. Screenshot
  4. Optional: Change/translate each location’s Display name (the front-end label). Screenshot
  5. Complete the remaining generator fields as prompted.
  6. Copy the generated shortcode and paste it wherever you want the form to appear on your site.

Styling your form

By default, the form’s design inherits your theme’s styling. For your convenience, if you’d like to override the default appearance, we’ve included a built-in CSS generator in the form editor.

Simply customize your form using the generator, then copy the generated CSS and paste it into your theme’s style.css file or directly into the page using an HTML block wrapped in <style> tags.

  1. In your WordPress dashboard, go to If-So → Geolocation, then click the Geolocation Override tab. Screenshot
  2. Choose the form type: Dropdown, Radio Buttons, or Buttons.
  3. Click Add location, then select the locations to include. Screenshot
  4. Optional: Change/translate each location’s Display name (the front-end label). Screenshot
  5. Complete the remaining generator fields as prompted.
  6. Copy the generated shortcode and paste it wherever you want the form to appear on your site.

Styling your form

By default, the form’s design inherits your theme’s styling. For your convenience, if you’d like to override the default appearance, we’ve included a built-in CSS generator in the form editor.

Simply customize your form using the generator, then copy the generated CSS and paste it into your theme’s style.css file or directly into the page using an HTML block wrapped in <style> tags.

Once you have those installed, follow these steps:

Screenshots

Geo override
Add Locations 1
location name 1

Was this Helpful ?

    We're sorry couldn’t be more helpful ☹️

      Winter Sale!

      Up to 40% Off