[Pro] Using the Content Protection Extension

Need to restrict access to specific content on your Elementor-powered site? The Content Protection extension in aThemes Addons Pro lets you hide widget content based on user roles or protect it with a password – giving you full control over who sees what.

In this guide, we’ll walk you through how to use the Content Protection extension in aThemes Addons Pro for Elementor.


Before you get started, make sure you’ve installed and activated the aThemes Addons plugin on your WordPress site along with Elementor. This extension requires aThemes Addons Pro.

Activating the Extension

Go to your WordPress admin dashboard and navigate to the aThemes Addons dashboard. Search for the Content Protection extension and toggle it on to activate it.

Enabling Content Protection

Open the Elementor editor and select the widget you want to protect. Navigate to the Content Protection section in the widget settings and toggle Enable to turn on content protection for that widget.

Configuring Role-Based Protection

To restrict content based on user roles, set the Protection Type to Role. Then select the user roles that are allowed to view the content. Users who do not have the selected roles will see a custom message instead of the protected content.

Customize the unauthorized access message to inform visitors why the content is restricted and what they need to do to gain access.

Configuring Password-Based Protection

To protect content with a password, set the Protection Type to Password. Define a password that visitors must enter to view the content. The password form includes several customizable elements:

  • Placeholder text – Customize the input field placeholder.
  • Submit button text – Change the label on the submit button.
  • Error message – Set a custom message for incorrect password attempts.

You also have style options to customize the form’s alignment, button color, and overall appearance to match your site’s design.

When using password-based protection, enable the Remember Me option to store a cookie on the visitor’s browser. This allows returning visitors to bypass the password form for a specified number of days. Set the Cookie Duration value to control how many days the cookie remains active before the visitor needs to re-enter the password.

Frequently Asked Questions

Below, we’ve answered some of the most common questions about the Content Protection extension.

Can I protect content for specific users only?

Yes. Use role-based protection and select the specific user roles that are allowed to view the content. All other roles will see the custom unauthorized message instead.

Can I customize the password form?

Yes. Customize the form’s alignment, button color, placeholder text, submit button label, and error message to match your site’s design.

How does the cookie feature work?

Once a visitor enters the correct password, a cookie is set on their browser for the number of days you specify in the Cookie Duration setting. During that period, the visitor can view the protected content without re-entering the password.


That’s it! You’ve successfully set up content protection on your Elementor widgets using the Content Protection extension in aThemes Addons Pro.

Next, would you like to control when elements appear based on specific conditions? Check out our guide on Using the Display Conditions Extension to learn more.