• Is it possible to develop a restricted site for our contractors – I want to have a site where our contractors can go to find all thing H&S at Fortysouth but not entirely sure the right channel to get this done or if it is possible? Ideally I can just duplicate the current site for our needs.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes. It is possible. The site can be accessible by only using password.

    Moderator bcworkz

    (@bcworkz)

    Try one of the plugins found by searching “private site” or “membership”

    Thread Starter jonorieger

    (@jonorieger)

    Thank you for the info. With some further review, we have pivoted slightly. Is it possible to have a homepage menu tab (beside the others on our homepage) that has restricted access only for those with a password to get in? If possible, how do I set this up?

    Best,

    Jonathan.

    Moderator bcworkz

    (@bcworkz)

    Not only is it possible, there are a number of possible approaches. What I would do is to specify a normal menu that’s output with wp_nav_menu(), but without the restricted menu item. Then use the “wp_nav_menu” filter to conditionally insert the restricted menu item into the proper position in the passed menu HTML if the current user is logged in.

    I’d choose this approach because it’s just one conditional menu item. If the restricted menu was much more elaborate and different from the default menu, you could define two completely separate menus and conditionally output one or the other based on logged in status.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Developing a restricted version of my site for just our contractors’ is closed to new replies.