Manage access to membership contents

You can manage access to membership contents from the option panel that you can find in YIT Plugins > Memberships.

Plugin settings panel

The option “Hide Contents” allows you to regulate access to contents for users that are not registered to the membership. You can choose one of the following options:

  • Hide all: content (posts, pages and products) are shown nowhere in the site but to members; if non-members try to access the content with a direct link, they will be redirected to your site 404 page.
  • Show and redirect users: posts are available in the blog and products are available in shop page, but when non-members try to access details, they will be redirected to a URL that you have previously specified.
  • Show alternative content: access to pages, posts and products is granted to anyone, but non-members will see an alternative content instead of the original one. Non-members cannot purchase products.

Alternative content can be added using the specific text area in the WordPress page of the product/page/post.

Alternative content

The option “Products in membership” allows you to manage products associated to the membership plan.

View products in membership plan

Select one of the following modes:

  • Show products only members: products follow exactly the same behaviour decided for posts, pages and media in “Hide contents”.
  • Show products to all and allow downloads for members: regardless of the behaviour chosen for shop contents, products can be accessed and purchased by everyone and downloadable products can be downloaded by all members.

If you choose to allow file downloading to all members, they will be able to download concerned products directly from product detail page.
You can change the position for the “download” button directly from settings panel.

Position of download button in product page

In order to add a download button in the page, you can use a shortcode by selecting the shortcode [membership_download_product_links] from “Use shortcode” button.

Download tab