Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

WP Admin No Show

Omschrijving

This plugin will gives the site admin the ability to “blacklist” roles (subscriber, contributor, author, and/or editor) and will redirect all users assiged to any blacklisted roles when they try to access any wp-admin page (is_admin() is true). This plugin will also hide the admin bar for those users in WordPress 3.1+.

Admin users and any users belonging to any of the other WordPress roles that have not been blacklisted will continue to see and have access to the other sections of the WordPress admin that correspond to their role’s capabilities.

Note: Version 1.0.0+ requires a minimum of WordPress 3.1. If you are running a version less than that, please upgrade your WordPress install before installing or upgrading.

Hulp nodig?

Support is provided at: https://wordpress.org/support/plugin/wp-admin-no-show

Schermafdrukken

  • WP Admin No Show Settings - Set up per-site settings (blacklist user roles, redirect location)

Installatie

  1. Upload wp-admin-no-show.php to the /wp-content/plugins/ directory
  2. Activeer de plugin via het ‘Plugins’ menu in WordPress

FAQ

Installation Instructions
  1. Upload wp-admin-no-show.php to the /wp-content/plugins/ directory
  2. Activeer de plugin via het ‘Plugins’ menu in WordPress
Q. Why whould I need to block admin/profile from a user?

WP Admin No Show was originally written for a WordPress site that used 3rd party authentication and used none of the normal WordPress admin pages, including profile.php.

Beoordelingen

september 3, 2016
Does exactly what I needed, simply and efficiently.
september 3, 2016
It seems strange enough that this functionality was not included in woocommerce itself. However no editing funtions.php with code snippet to do this and neither other plugins worked for me, except of this plugin. So happy to finally have gotten over this problem, which looks so easy at first and was a pain to be solved.
Lees alle 25 beoordelingen

Bijdragers & ontwikkelaars

“WP Admin No Show” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “WP Admin No Show” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.7.0

  • Added whitelist setting. This is currently only for site administrator for cases where adminstrator may also have a secondary role that is blacklisted. This may be expanded to allow all roles to be whitelisted.

1.6.3

  • Updated “Tested up to.”

1.6.2

  • Tested with WordPress 4.4.1.

1.6.1

  • Add filter to allow hooking into the $redirect value. (Thanks @cloughit!)

1.6.0

  • Use admin_init hook for wp_admin_no_show_admin_redirect() to prevent temporary view of admin page on redirect.
  • Added check for ‘DOING_AJAX’ when checking is_admin() on redirect to prevent conflicts with other plugins.

1.5.1

  • Switched back to admin_head for wp_admin_no_show_admin_redirect() to to conflit with Woo Commerce.

1.5.0

  • Use admin_init hook for function wp_admin_no_show_admin_redirect()
  • Tested with WordPress 4.2.2.
  • Updated copyright year.

1.4.5

  • Updated “Tested up to” header.

1.4.4

  • Tested with WordPress 4.0.1.
  • Updated verbage in admin page.
  • Updated copyright year.

1.4.3

  • Removed improper use of current_user_can(“role”) function with WordPress Check User Role Function (AppThemes). Thanks to @massimopadovan for pointing it out.
  • Tested for WordPress 3.8 compatibility.

1.4.2

  • Updated readme.
  • Update screenshot.
  • Added section labels to plugin options page.
  • Tested for WordPress 3.7 compatibility.

1.4.1

  • Tested for WordPress 3.6 compatibility.

1.4.0

  • Tested for WordPress 3.5 compatibility.
  • Removed administrator role/checkbox from blacklist.

1.3.0

  • Whitelist multisite super admin. (thanks to rangiesrule for the request)
  • Fixed bug in logic preventing regular admin from redirecting.

1.2.3

  • Replaced multi-select dropdown with checkboxes.

1.2.2

  • Updated multi-select dropdown to allow toggling of option items.

1.2.1

  • Removed 28px white space in front end when admin bar is disabled.
  • Thanks to Max Bond for pointing out the problem and Samuel Aguilera for the fix.

1.2.0

  • Added ability to choose which page to redirect to or not at all.

1.1.0

  • Added admin page and ability to blacklist user role.

1.0.0

  • InitiĆ«le versie.