Title: Special Areas
Last modified: August 20, 2016

---

# Special Areas

 *  [kevin.wilescg](https://wordpress.org/support/users/kevinwilescg/)
 * (@kevinwilescg)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/special-areas/)
 * 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)

 *  [David Gard](https://wordpress.org/support/users/duck_boy/)
 * (@duck_boy)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/special-areas/#post-2320758)
 * 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](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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [David Gard](https://wordpress.org/support/users/duck_boy/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/special-areas/#post-2320758)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
