Skip to main content

Conditionals

Requirement:

"I have a member of my site that I want to show a specific message to, but only when they; are logged in, have purchased a specific product from my WooCommerce store, have enrolled but not completed a specific LearnDash course, and are subscribed to my members mailing list in ActiveCampaign. Oh and I want to use an Elementor popup to show the message."

Answer:

"Then use an ActiveMember360 Conditional"

Overview

ActiveMember360 Conditionals elevate the definition of Dynamic Content, Personalization, and Dynamic Segmentation to the next level.

With conditionals you are no longer limited in the variety, or combination of conditions you can define to create segments or control dynamic content and personalization within your site.

Now it is even easier to customise your content to adapt to your sales, marketing and delivery goals based upon user behaviour and contact data stored within ActiveCampaign.

This enables you to provide the right message, in the right place, at the right time.

Conditionals and WordPress Page Builders

Conditionals can be used with:

  • Beaver Builder - Modules, Columns & Rows
  • Beaver Themer - Conditional Logic & Layouts
  • Elementor - Widgets, Sections & Popups
  • Oxygen Builder - Elements
  • WordPress Block Editor - Blocks
  • WordPress Classic Editor
  • WordPress Menus
  • WordPress Widgets
  • …and many other theme and content builders that support shortcodes

There is no other dynamic content or personalization tool that can control the display of WordPress, Beaver Builder, Elementor, Oxygen Builder or WordPress Block Editor content in such a comprehensive way.

Controlling Content

Conditionals can be used to generate dynamic content and personalize:

  • Post titles
  • Post/page content
  • Post/page excerpts
  • Widgets
  • Menus
  • …and many custom post types such as:
    • LearnDash courses, lessons,topics and quizzes.
    • WooCommere product pages.
  • …and many other third party plugins that support shortcodes

Conditionals allow the creation of virtually unlimited sets of conditions.

Supported Conditions

These currently include conditions based upon the following condition types:

  • Contact list status:
    • Contact is active in any or all of the lists selected
    • Contact is unconfirmed in any or all of the lists selected
    • Contact is unsubscribed in any or all of the lists selected
    • Contact is bounced in any or all of the lists selected
  • Contact tag status:
    • Contact has any or all of the tags selected
    • Contact does not have any or all of the tags selected
  • Contact field comparison:
    • Contact has a contact field that compares with a value
    • Contact has a contact field that compares with another of their contact fields
  • User login status:
    • User is logged in
    • User is not logged in
    • User has failed payment status
    • It is the user’s first login
  • User role status:
    • User has any or all of the roles selected
    • User does not have any or all of the roles selected
  • PHP statement:
    • Any WordPress conditional statement
    • Any WooCommerce conditional statement
    • Predefined conditional
  • GamiPress User status:
    • User has any or all of the achievements selected
    • User does not have any or all of the achievements selected
    • User has any or all of the ranks selected
    • User does not have any or all of the ranks selected
    • User has a points type total that compares with a value
  • Learndash User status:
    • User is enrolled in any or all of the courses selected
    • User is not enrolled in any or all of the courses selected
    • User has not started any or all of the courses selected
    • User has in progress any or all of the courses selected
    • User has completed any or all of the courses selected
    • User has not completed any or all of the lessons selected
    • User has completed any or all of the lessons selected
    • User has not completed any or all of the topics selected
    • User has completed any or all of the topics selected
  • WooCommerce User status:
    • User has purchased any or all of the products selected
    • User has not purchased any or all of the products selected
    • User has pending status for any or all of the subscriptions selected
    • User has active status for any or all of the subscriptions selected
    • User has on hold status for any or all of the subscriptions selected
    • User has pending cancellation status for any or all of the subscriptions selected
    • User has cancelled status for any or all of the subscriptions selected
    • User has expired status for any or all of the subscriptions selected
  • …any multiples and combinations of the above.

For developers and the tech savvy you can even define your own condition types and evaluation criteria.

A conditional can include any, all, multiples or any combination of the condition types.

Conditionals also embrace the philosophy of define once, use many.

You may want to use the same conditional in multiple locations. The conditional is defined once and can then be used in an unlimited number of locations.

There is no longer the need to define the exact same set of conditions time and time again. This also has the added benefit that when making a change to a conditional it is very simple and efficient. You change the defined conditions in a single conditional and that revised definition then applies to all locations where that conditional is used.

Get started

To benefit from using conditionals please review the following articles: