Title: Simple Access Control
Author: Peter Wooster
Published: <strong>2011-11-13</strong>
Last modified: 2017-11-17

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/simple-access-control.svg)

# Simple Access Control

 By [Peter Wooster](https://profiles.wordpress.org/pkwooster/)

[Download](https://downloads.wordpress.org/plugin/simple-access-control.1.6.0.zip)

 * [Details](https://tt.wordpress.org/plugins/simple-access-control/#description)
 * [Reviews](https://tt.wordpress.org/plugins/simple-access-control/#reviews)
 *  [Installation](https://tt.wordpress.org/plugins/simple-access-control/#installation)
 * [Development](https://tt.wordpress.org/plugins/simple-access-control/#developers)

 [Support](https://wordpress.org/support/plugin/simple-access-control/)

## Description

This plugin allows authors to restrict the users’s access to individual pages, posts
and menu items based on the user’s logged in status.

_Features for Authors_

 * You can restrict pages and posts while editing by using the “Simple Access Control”
   widget.
 * You can set the message displayed when a visitor accesses a locked page using
   the “Simple Access Control” item in the Settings menu
 * The locked status is shown in the admin page and post lists
 * a “Loggedin Text” widget is available that only displays text to logged in users
 * You can set an option to display the menu even when filtered
 * You can set an option to force a 404 Not Found error on direct access to a restricted
   page

_Features seen by users_

 * Locked pages and posts are not displayed
 * Locked items are removed from standard and custom menus
 * A message asking you to log in is displayed if you access it directly using its
   address or using the next and previous links
 * A 404 Not Found error may be displayed on access to a restricted page
 * A login/logout link is displayed in the mesage
 * Loggedin Text widgets are not visible
 * Pages and posts can be hidden from either logged in or not logged in users

_Additional Features_

There are no additional features supported by Simple Access Control. The code is
simple, small and well documented,
 so you can use it as a starting point for your
own access control plugin.

## Installation

 1. Use the Plugins, Add New menu in WordPress to install the plugin or upload the `
    simple-access-control` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Installation Instructions

 1. Use the Plugins, Add New menu in WordPress to install the plugin or upload the `
    simple-access-control` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Reviews

![](https://secure.gravatar.com/avatar/e561cc3ca62214851ab0eb41fc2128ebeeb9c4e5a32b27fb77e43c9d0a28fcf2?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-7304/)󠁿

 [Chris Dennis](https://profiles.wordpress.org/chrisdennis/) 2019-02-01

Well thought out — uses filters to hide selected pages and menu items. A bit more
documentation would be nice though — it took me a while to find the extra check 
boxes on the right hand side of the post/page editing form.

![](https://secure.gravatar.com/avatar/c40350b2d2fb6a46b4590d68b49e1168f994995552cc999c3a847afd365ae002?
s=60&d=retro&r=g)

### 󠀁[Just I was looking for](https://wordpress.org/support/topic/just-i-was-looking-for-2/)󠁿

 [solysergio](https://profiles.wordpress.org/solysergio/) 2018-12-11

It’s lightweight, easy and works fine. what’s else?

![](https://secure.gravatar.com/avatar/d0c02370afdabf50b520d968bcf12911f7dd65a9fe8ba8984575277244621127?
s=60&d=retro&r=g)

### 󠀁[Almost Perfect](https://wordpress.org/support/topic/almost-perfect-332/)󠁿

 [Steve](https://profiles.wordpress.org/aksteve/) 2018-01-22

This is exactly what i needed. Simple and easy to use. Just one problem. Doesn’t
work with bbpress or learndash. Still, thanks for making this plugin.

![](https://secure.gravatar.com/avatar/0977249d45d34294ff5790b72029ff977ba048cd499bf31118e602e71dfcc2ad?
s=60&d=retro&r=g)

### 󠀁[Excellent, smart and perfect!](https://wordpress.org/support/topic/absolut-traumhaft/)󠁿

 [maidstein](https://profiles.wordpress.org/maidstein/) 2017-11-18 1 reply

Strike! The plugin does absolutely reliable what it should – simple and smart. You
can lock any page or post if a user is logged in or nobody is logged in. If the 
lock pulls, a freely programmable HTML code is interpreted using e.g. a button with
a link to the WP login screen can be displayed. Tip: Don’t forget a query string
after the URL to return to the primary page after the login. Simply fantastic! Peter,
thanks for updating! Now everything works fine.

![](https://secure.gravatar.com/avatar/a2ff52d665a2f31294b668360e10fb83c7ac0c115f10df0ff3945127b9706316?
s=60&d=retro&r=g)

### 󠀁[Very good](https://wordpress.org/support/topic/very-good-1228/)󠁿

 [HPA Auto](https://profiles.wordpress.org/hpa-auto/) 2016-09-03

Simple and work great

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/simple-access-control/reviews/)

## Contributors & Developers

“Simple Access Control” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Peter Wooster ](https://profiles.wordpress.org/pkwooster/)

[Translate “Simple Access Control” into your language.](https://translate.wordpress.org/projects/wp-plugins/simple-access-control)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/simple-access-control/),
check out the [SVN repository](https://plugins.svn.wordpress.org/simple-access-control/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/simple-access-control/)
by [RSS](https://plugins.trac.wordpress.org/log/simple-access-control/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.6.0

 * fix fatal error extending WP_Widget, now extends WP_Widget_Text
 * add option to give a 404 Not Found error on direct access to a restricted page
   or post

#### 1.5.1

 * set version number

#### 1.5

 * tested support for WordPress 4.7.5 and HTTPS
 * updated the readme, no changes to code

#### 1.4

 * tested support for new admin in WordPress 3.8

#### 1.3

 * add control of display in menus on page basis
 * add login/logout links to locked displays

#### 1.2

 * add restricting access to users who are logged in
 * fix bugs with restricted posts and next/previous links

#### 1.1

 * add Loggedin Text widget

#### 1.0.1

 * Replace deprecated use of WP_User->id with WP_User->ID

#### 1.0

 * First release.

## Meta

 *  Version **1.6.0**
 *  Last updated **8 ел ago**
 *  Active installations **200+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **4.9.29**
 *  Language
 * [English (US)](https://wordpress.org/plugins/simple-access-control/)
 * Tags
 * [menu](https://tt.wordpress.org/plugins/tags/menu/)[page](https://tt.wordpress.org/plugins/tags/page/)
   [post](https://tt.wordpress.org/plugins/tags/post/)[security](https://tt.wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://tt.wordpress.org/plugins/simple-access-control/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/simple-access-control/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/simple-access-control/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/simple-access-control/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/simple-access-control/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/simple-access-control/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/simple-access-control/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/simple-access-control/reviews/)

## Contributors

 *   [ Peter Wooster ](https://profiles.wordpress.org/pkwooster/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/simple-access-control/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://devondev.com/wordpress/)