Tento plugin nebol testovaný s najnovšími 3 hlavnými vydaniami WordPress. Už nemusí byť udržiavaný alebo podporovaný a môže mať problémy s kompatibilitou pri použití s novšími verziami WordPress.

Simple Access Control

Popis

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.

Inštalácia

  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

Časté otázky

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

Recenzie

1. februára 2019
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.
22. januára 2018
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.
18. novembra 2017 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.
Prečítať všetkých 7 recenzií

Prispievatelia a vývojári

“Simple Access Control” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

Zoznam zmien

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.