Oxygen Builder is a popular page builder natively supported in the core Paid Memberships Pro plugin. With this integration, you will be able to restrict content at the section or row level. You can choose to display content to specific membership levels or for non-members only.

Using the Oxygen Builder Integration

These steps assume that you have already set up Oxygen Builder and Paid Memberships Pro.

Restrict Content in Templates

If you’re using Oxygen templates, this integration allows you to set conditions in the template that reflect throughout all pages and posts that utilize the template. This is a quick way to add conditional content to your whole site using Oxygen and PMPro.

  1. Navigate to Oxygen > Templates in the WordPress admin
  2. Select the template to edit or add a new template.
  3. Click Edit with Oxygen.
  4. Skip to How to Set Membership Conditions For an Element below.

Restrict Content in Single Pages or Posts

This Oxygen Builder integration also supports conditions at the single page or post level. 

  1. Navigate to the page or post that you would like to edit.
  2. Click Edit with Oxygen.
  3. Skip to How to Set Membership Conditions For an Element below.

How to Set Membership Conditions For an Element

Once you are within the Oxygen Editor, select the element that you want to restrict based on membership requirements.

  1. Navigate to Conditions in the left sidebar and click the + Add Condition.
Screenshot of Add Condition Options in Oxygen Builder
  1. This will deploy a module with three dropdown menus.
    1. Condition: In the first dropdown menu select Paid Memberships Pro Level.
    2. Condition Type: In the second dropdown menu, select one of the options:
      1. Choose == to set a specific membership level requirement for this element (equals).
      2. Choose != to exclude a specific membership level from viewing the element. 
    3. Membership Requirements: In the third dropdown, choose which membership level you would like to show this element to. You can also use this field to hide or show elements for non-members only. 
Screenshot of equal or no equal to include or exclude membership level in Oxygen Builder conditions
  1. Repeat these steps for additional conditions (other membership levels).
Screenshot of Add Condition to add multiple conditions in Oxygen Builder
  1. Save changes using the button at the top right hand corner. 

Testing and Troubleshooting

  1. To test the membership requirements, log in with different user accounts having various membership levels or attributes defined in PMPro.
  2. Verify that the content visibility and access align with the configured membership conditions.
  3. If you encounter any issues or the restrictions do not work as expected, review your configuration and ensure that the memberships and conditions are correctly set up in PMPro and Oxygen Builder.

You can now control the visibility and access to content based on membership levels or other criteria defined in Paid Memberships Pro.

Was this article helpful?