Allow registered users to change their user role by entering a unique code

This topic has 2 replies, 2 voices, and was last updated 4 years, 11 months ago ago by Olga Barlow

  • Avatar: n.v.gijsel@gmail.com
    n.v.gijsel@gmail.com
    Participant
    May 22, 2019 at 12:29

    Hi there!

    I am trying to make a number of pages on my WordPress website accessible only for ‘PRO’ users. The idea is that a registered user can become PRO by going to a certain page (or to his/her account page) and entering a unique code (/password). This would then make this user PRO, changing its user role in WordPress and giving him/her access to the ‘PRO-pages’.

    It is not an option to password protect several pages in WordPress and letting users access these pages with a password, because I want to have multiple passwords.

    Therefore I want this code (/password) to be unique. I only want to create several codes and want to share them with the right people, instead of having someone uploading the code on the internet allowing everyone reading that to update their account and accessing these pages.

    Is there a way of doing this? Or should I go and ask somewhere else?

    Thanks in advance!

    Niels

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 22, 2019 at 14:03

    Hello,

    There is no such option in our theme. You can either look for third-party plugins that will help you to implement this or submit customization request here.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.