< Toggle Sidebar > Toggle Sidebar

Woo Member Restrict Module

NOT SUPPORTED – CODE ONLY

We have moved on to other things & in spirit of GPL2 & WordPress ecosystem we have released the source code. We won’t be developing or support this plugin. You are free to use it, fork it and do anything else you want with it.

Get Help Hiding Your Member Only Content!

If you use memberships with WooCommerce and Divi, you may have some trouble designing approriate page layouts.

At least we did, so we fixed the problem with this cool Divi Module! It allows you to change what you show to customers in your Divi Builder Pages. This is a great way to restrict content and show what you need to the right members on your site. It’s invaluable to get fantastic content showing to your paying members.

The Shortcode Functionality

We created this module to be an overlay for Divi to use the shortcodes that come standard in the WooCommerce Memberships Module. You can read the documentation here on the official WooCommerce Site.

Normal shortcodes cannot be placed in the native Divi Builder around other content so you end up with problems delivering this functionality. With our plugin, you can actually do this – place shortcodes around existing content – to perform advanced functions.

For example, you may want to restrict an ‘in-page download’ to members and otherwise show a signup button. With this module, you can do that. You could even show entirely different content in a section.

It does have some limitations, however. Such as you cannot place the module in separate sections.

Dependencies

The Woo Member Restrict Module depends on the Woocommerce Memberships plugin – used to restrict a site’s content that is using site-wide membership.


Getting Started Guide

This plugin has two Divi Modules. They are:

  • Woo Restrict Content Open: This module opens the shortcode until the Woo Restrict Content Close Module is encountered.
  • Woo Restrict Content Close: This module closes the shortcode.

The restricted content should be placed in between these two modules – see the image below for an example.

Modules
This shows how the two modules are used to restrict content. 

More information on the shortcodes can be found in the WooCommerce documentation.

1. Woo Restrict Content Open Divi Module

Use this module to open the shortcode. You will see that the module has field called ‘WC Membership Restriction Shortcode’ whose two options are Restrict Plans or Non-Member.

Option 1 – Restrict Plans. When selected, it restricts contents by plans. The attributes include Plans, Delay and Start After Trial.

  • Plans: Comma separated list of plan IDs/slug
  • Delay: Delay access to content by specific dates or human-readable time difference
  • Start After Trial: When selected, content is shown after trial period is done
Restrict Plans
Woo Restrict Content Open Module – Restrict Plans Settings

Option 2 – Non Members. Used to restrict content for non-members. The only attribute is Plans.

  • Plans: Comma separated list of plan IDs/slug
Non Members
Woo Restrict Content Open Module – Non-Member Settings

2. Woo Restrict Content Close Divi Module

This module is used to close the shortcode tag introduced by the Woo Restrict Content Open Divi Module.

Note: Please ensure that the shortcode selected should match the open shortcode chosen in the Woo Restrict Content Open Module.

Close Divi Module
Woo Restrict Content Close Module Settings

Download

Download on Github

Please note we do not provide support for Github Downloads.

Help Docs

Links to related documentation and usage of this plugin.