Required Plugins: Business Directory / CRM / Member Manager
If you are using the required free plugins listed above, you have all the tools you need to restrict page & post content based on membership level and add member login to your WordPress website.
Step 1: Enable the members-only content feature
Go to Member Manager Options, select feature, click save.
Step 2: Create member account page
The member account page displays your login form. Logged out visitors will be redirected to this page if they click on a page with members-only content.
- Create a new page.
- Add the member login form block – OR – add login shortcode:
- Publish your page.
- Go to CD Settings >> Payments >> Members Only Settings.
- Map your page in Member Manager settings.
- Add logout link to site menu.
- Save your changes.
NOTE: Make sure to setup a Chamber Dashboard member account page. If you have WooCommerce installed, you may also have an account page with the WooCommerce shortcode, but this will not work on the Chamber Dashboard settings page.
Step 3: Create membership levels & set page / post permissions
First, create membership levels for your Business Directory. Note that membership levels will automatically be assigned to your membership form and can also easily be used to create a member benefits page.
Next, create a new page or add content to an existing page (or post) that you want to only make available to certain membership levels.
Scroll to the bottom of the page to set content permission for the membership levels that will have permission to view the page or post.
NOTE: Do NOT restrict access to the member account page.
Step 4: Setup no access notification
The information page should display the message that you want members to see if their membership level does not include access to the content on the page they are trying to visit.
ie: “Your membership level does not include access to this content.”
- Create a new page.
- Add your message to members who do not have access to content at this level.
- Map page on the payments settings page.
For more detailed setup instructions, see settings pages below.