• Hi

    I am looking to make around 5 small sections within my website which will only be able to be viewed by some people.

    The smaller areas of the site will be for other companies to use and see special info related to that company

    Is there a way or plugin to make say a page and only grant access to some users? And if they don’t have access they can see the rest of the site but not this page(pages)

Viewing 1 replies (of 1 total)
  • There are ways of doing it, but it would be quite complicated to do.

    You’d first need to create new users types and give them permissions – there are plenty of plugins for that, http://wordpress.org/extend/plugins/role-scoper being a good one.

    Next you’d need to add checks in various areas of your site. Say for example you had created to user type ‘full’, you could use something like –

    if(current_user_cal('full')) :
        {Your code here}
    elseif(current_user_cal('half')) :
        {Your code here}
    endif;

    You would really need to think about where to put that code though – your navigation for example, as you may need to hide some tabs, or your sidebar if you wish certain widgets to be hidden.

Viewing 1 replies (of 1 total)

The topic ‘Special Areas’ is closed to new replies.