Aquesta extensió no s'ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s'usa en versions recents del WordPress.

WP Admin No Show

Descripció

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.

Soporte

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

Captures

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

Instal·lació

  1. Upload wp-admin-no-show.php to the /wp-content/plugins/ directory
  2. Activa l’extensió mitjançant el menú ‘Extensions’ del WordPress

PMF

Installation Instructions
  1. Upload wp-admin-no-show.php to the /wp-content/plugins/ directory
  2. Activa l’extensió mitjançant el menú ‘Extensions’ del 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.

Ressenyes

3 Setembre 2016
Does exactly what I needed, simply and efficiently.
3 Setembre 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.
Llegiu totes les 25 ressenya

Col·laboradors i desenvolupadors

"WP Admin No Show" és programari de codi obert. La següent gent ha contribuït en aquesta extensió.

Contribuïdors

Registre de canvis

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

  • Initial release.