'}}

[Diagram & Video Explanation] Simple Memberships WordPress Membership Site Building Plugin ~How to Set Up Content Protection~

At HanamiWEB Online School,

●Ask questions in real-time in the virtual study room!

●Ask as many questions as you want via chat!

●E-learning materials that you can learn as much as you want, 24 hours a day!

All included for just 2,500 yen/month!

A WordPress teacher will carefully explain how to set up Simple Memberships, which allows you to easily create a membership site with WordPress and create content that is only available to free and paid members!

This time, we will explain how to set up content protection.

Content protection is a method of making static pages and post pages published on WordPress available only to registered members.



Per-page protection

Create a new static page or post page, or edit it. The following settings will be added at the bottom of the page.

If you want to protect your content, select "Yes, protect my content."

Then, in the section titled [Select the membership level that can view this content], check the member you want to make public. Since I'm only registered as a free member this time, I can only select one, but if you have multiple members, you can choose here.

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipのコンテンツ保護設定

Bulk protection by category

Click on “Membership Levels” under “WP Membership.”

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipのコンテンツ保護設定

Click on "Category Protection".

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipのコンテンツ保護設定

Choose the categories you want to protect

Select the type of membership you want to set from the 【Membership level】 item.

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipのコンテンツ保護設定

Check the category that you want to make private and press the [Update] button.

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipのコンテンツ保護設定

Similarly, for other membership types, you can decide whether to make them private on a category-by-category basis.

Protect posts and static pages all at once

Click on “Membership Levels” under “WP Membership.”

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipの投稿・固定一括保護

Click on "Protect Posts and Pages."

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipの投稿・固定一括保護

Bulk protection

Select [General Protection].

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipの投稿・固定一括保護

Check the checkbox to the left of the content you want to protect. If you want to protect all content, check the checkboxes underlined in red.

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipの投稿・固定一括保護

Click the [Update] button. You can also make settings for [Pages (static pages)] and [Custom posts] in the same way.

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipの投稿・固定一括保護

Choose your membership level for added protection

You can also choose a membership level for comprehensive protection.

  1. Select the membership level for which you want to set protection
  2. Check the pages you want to protect
  3. Press the Update button

That's all.

wordpressで会員限定コンテンツを管理できるプラグインSimpleMembershipの投稿・固定一括保護

[Option] Partially publish

Have you ever seen a blog post where anyone can view half of it, but you have to register to view any more? By adding a free add-on, you can implement this kind of functionality!

Free add-ons are available from the official website below.

https://simple-membership-plugin.com/apply-partial-section-protection/

Upload the downloaded add-on file by going to [Plugins] > [Add New] > [Upload].

You can use shortcodes to create partially protected content.

If you want to use partial protection on a post or static page, make sure you do not protect the entire post page or the category it is in. Applying category protection will prevent partial protection from being applied as all posts in that category will be fully protected.

Partial Protection ①

[swpm_protected]All content displayed here is only visible to logged in members with access to this post or page.[/swpm_protected]

Decide on a private release by member ID

You can specify the type of membership to be made private by specifying the ID of the registered membership type.

[swpm_protected for = "2-3"] The content displayed here will only be visible to members belonging to the specific membership level specified in the shortcode. [/ swpm_protected]

Protected content is indicated by designed text

[swpm_protected for="2" format_protected_msg="1"] The content displayed here is only visible to members belonging to membership level 2.[/swpm_protected]

Content that is only available to certain members

It is also possible to check the user's ID and set it to be made public only to specific users by specifying the ID.

[swpm_protected member_id = "1"] Content displayed here is only visible to members with member ID 1. [/ swpm_protected]

Content visible only to logged-in users

By using the following shortcode, you can enter text that will only be displayed to logged-in users.

[swpm_protected visible_to = "logged_in_users_only"] Content displayed here is only visible to users who are logged into the SWPM system as a user (whether their account has expired or not). [/ swpm_protected]

Content that is only displayed to non-logged-in users

Using the following shortcode, you can enter text that will only be displayed to non-logged-in users.

[swpm_protected visible_to = "not_logged_in_users_only"] Content displayed here is only visible to non-logged users (anonymous visitors to your site will see this message). [/ swpm_protected]

Content to be displayed only to expired users

By using the following shortcode, you can enter text that will be displayed only to expired users.

[swpm_protected visible_to = "expired"] Only expired members can see this message. [/ swpm_protected]

You can enter text that will be displayed only to expired users of a specific membership type.

[swpm_protected visible_to="expired" for="2"] Only members with expired membership level 2 can see this message.[/swpm_protected]

Partial protection, not at a specific membership level

You can opt out of appearing at certain membership levels.

[swpm_protected not_for = "2"] Any content you put here will not be visible to members at membership level 2. All other members will be able to see this content. [/ swpm_protected]

Partial protection without the "Content is protected" message

Normally it would say the content is protected, but it can be hidden so that part of it is not displayed.

[swpm_protected for = "2-3" do_not_show_protected_msg = "1"] Whatever you put here will only be visible to members who belong to the specific membership level specified in the shortcode. And users who don't have access to this content will not see the "Content is protected" message. [/ swpm_protected]

Partial protection without protection or update messages

You can hide a section without displaying the "Content is protected" or "Update your account" messages.

[swpm_protected for="2-3" do_not_show_protected_msg="1" do_not_show_expired_msg="1"] Content displayed here is only visible to members belonging to the specified membership level. Users who do not have access to this content will not see the "Content is protected" message. Expired members will also not see the renewal message.[/swpm_protected]

Use a custom message for non-members

You can customize the text/message that is displayed to non-members.

[swpm_protected for="2-3" custom_msg="This is a custom protection message"] Your content goes here. This content will be hidden and only available to members at membership levels 2 or 3.[/swpm_protected]

Partial protection custom message with HTML link

You can use HTML links in the custom messages you specify for the section protection shortcodes.

If you want to enter HTML link code, remember to switch to "Text" mode in the WordPress post/page editor

[swpm_protected for = &quot;2-3&quot; custom_msg = &#039;This is the<a href="http://www.example.com">Test Link</a>] Your content goes here. This content will be hidden and only available to members at membership levels 2 or 3.[/swpm_protected]



Leave the reskilling of your website to us!

Since 2019, we have been sharing skills related to WordPress and websites. We have accumulated case studies and know-how, and are good at quickly and accurately solving problems. If you have any concerns about your website, please feel free to contact us via our official LINE account!

↑Click to open the official LINE page

Latest Articles

'}}
How to Accept Credit Installment Payments Using Lifter LMS
'}}
Explains how to customize the LifterLMS system automatic output page
'}}
LifterLMS Customization example when the registration date and active date are different due to bank transfer, etc.
'}}
(Solved) Emails sent from WordPress to Gmail are not being sent [Lollipop]
WP Rocket - WordPress Caching Plugin
en_USEnglish