• Resolved sslv

    (@sslv)


    Hi all,

    I’m trying to understand how page restriction work in wordpress. What I want to figure out is the following:

    When access page A -> show all users (logged in or logged out) that this services is coming soon.

    When access page B -> show logged out users (only) that they are not logged in and provide them the a button to redirect them to the login page!

    —————————————————————————————

    What I have done so far:

    I have edited a page and added “Limit access to the content to users of the selected roles.” to Administrator and Subscriber and updated that page. When tried to access it, the page content is not visible and only the following message appears: Sorry, but you do not have permission to view this content.

    So far so good, as I have expected. But my question is how to modify the style of the restricted page not just to be a single message as explained above but to actually be a page (e.g. not-logged-in-page) which will have a message and a button to allow users to log-in or register?

    • This topic was modified 4 years, 11 months ago by sslv.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to modify restriction content page?’ is closed to new replies.