- Pie Register

Reply To: Setup protected area

Home Forums Pie-Register 2.0 Support Setup protected area Reply To: Setup protected area

#4491

Hasnain Abbas
Keymaster

Hello,

PR free version doesnt have “Page Restrictions” feature to restrict the pages other than Login, Registration Forgot Password and Profile page. But you can easily do it in your theme by creating “Restricted Page” template.

Here’s how i would do:

Copy regular page template into a new template and wrap the code in the following condition:

if(is_user_logged_in()){
//..Page template code here
}else{
auth_redirect();
}

I hope it helps, please feel free to let us know if you have any other questions.

Thanks