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 1 year, 10 months ago.

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

    Fernando Fernando
    Participant

    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

    thanks!

    #4735

    Hasnain Abbas
    Keymaster

    Hello,

    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.

    Best

    #4736

    Fernando Fernando
    Participant

    okkk! Thanks! 😀

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

You must be logged in to reply to this topic.