Password protecting a group of pages with potential functionality to add at a later date?

[ad_1]

Hi,

A client wants to ringfence 9 pages of their website and only make them accessible to users who register an account (would be a custom account type). Users will not have backend access, just access to these 9 pages and potentially more as they get added.

In the future, the client may want to add tiers of membership so some accounts have access to a few exclusive pages so we would need to be able to modify existing accounts.

There are so many membership plugins, all offering same same but different.

What do you think would best fit the job here?

Many thanks 🙂

[ad_2]
1 Comment
  1. Just add a conditional statement to hide access unless users match your user role.

    Example: if ( current_user_can( ‘custom_role’ ) || !is_user_logged_in())

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer