This guide will cover how you can use Elementor along with Memberium for ActiveCampaign to quickly and simply build your site and protect your content without the need to know any HTML, CSS, or Shortcodes.
Elementor is a simple to use, drag-and-drop page builder for WordPress. Memberium for ActiveCampaign integrates with Elementor so that you can protect individual elements with membership levels, tags, and other options. This allows you to show or hide content based on certain conditions you configure in Memberium for ActiveCampaign.
A common use case for this is showing links or even content to people who have purchased it while showing different content (sales content) to people who haven’t purchased yet.
Memberium provides all of the commonly used functions from the Content Protection Metabox for use inside Elementor.
The advantage of using the Memberium Elementor integration is that you don't need to use any shortcodes.
To ensure the integration is present, make sure you're using the latest version of Memberium.
Here’s how you can access the Memberium protection screen:
Open the page that you want to edit with Elementor and simply select the element/widget that you want to protect with Memberium.
Go to the Advanced tab and then click on "Memberium" which will expand that dropdown.
You will be presented with protection options for that specific element. Tag IDs, Membership Levels, Contact ID, and Logged Out/In Status are the main settings.
You'll also notice the option for a “PHP Boolean Expression”. This field allows you to specify WordPress or Memberium PHP functions, such as is_user_logged_in(), memb_hasMembership(), memb_hasAnyTags(), etc.