block all pages for visitors

Home Forums Pie-Register 2.0 Support block all pages for visitors

This topic contains 2 replies, has 2 voices, and was last updated by  Fernando Fernando 2 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #4732

    Fernando Fernando

    What should I do to unregistered users can not access if they know the URL pages? Pie register form only blocks the main page but not the rest of the subpages



    Hasnain Abbas


    This is out of PR scope, however, one can easily manage this if they know programming. You can create a function in your theme’s functions.php that checks for the logged in users if not then redirect to a specified URL. Simply hook this function into the appropriate WP Hook and you’re done.

    Hope it helps.



    Fernando Fernando

    okkk! Thanks! 😀

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.