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 a flag causing the menu to display even when filtered
Changes 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 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
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.
- Use the Plugins, Add New menu in WordPress to install the plugin or upload the
simple-access-controlfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
Simple and work great
Contributors & Developers
“Simple Access Control” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- tested support for new admin in WordPress 3.8
- add control of display in menus on page basis
- add login/logout links to locked displays
- add restricting access to users who are logged in
- fix bugs with restricted posts and next/previous links
- add Loggedin Text widget
- Replace deprecated use of WP_User->id with WP_User->ID
- First release.