Restrict Categories

Descrizione

Restrict Categories is a plugin that allows you to select which categories users can view, add, and edit in the Posts edit screen.

This plugin allows you to restrict access based on the user role AND username.

Screenshot (schermate di esempio)

  • Roles and Users with selected categories to restrict
  • The Posts edit screen with restricted categories
  • The Categories selection on the Add New Post screen with restricted categories

Installazione

  1. Upload restrict-categories to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > Restrict Categories to configure which categories will be restricted for each user and/or role.

FAQ

Does this work with custom roles I have created?

Yes! Roles created through plugins like Members will be listed on Settings > Restrict Categories

Will this prevent my regular visitors from seeing posts?

No. Questo plugin riguarda solo gli utenti registrati nel pannello di amministrazione.

I messed up and somehow prevented the Administrator account from seeing certain categories!

Restrict Categories is an opt-in plugin. By default, every role has access to every category, depending on the capabilities.
If you check a category box in a certain role, such as Administrator, you will restrict that role to viewing only those categories.

To fix this, go to Settings > Restrict Categories, uncheck all boxes under the Administrator account and save your changes. You can also click the Reset button to reset all changes to the default configuration.

How does it work when I’ve selected categories for a role AND a user?

La selezione delle categorie per un singolo utente avrà la priorità rispetto alle categorie selezionate per il ruolo di tale utente.

In altre parole, Restrict Categories consente il controllo completo su gruppi di utenti permettendo anche di modificare in modo selettivo un’impostazione di per un singolo utente.

Recensioni

5 Luglio 2019
Great plugin and it is working on 5.2.2.. thank you Matthew Muro
20 Agosto 2018
categories can't be selected so when i click save no changes occurs and no restriction is applied
Leggi tutte le recensioni di 32

Crediti e riconoscimenti

“Restrict Categories” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “Restrict Categories” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

Version 2.6.4 – Aug 30, 2019

  • Fix saving bug

Versione 2.6.3 – Gen 28, 2013

  • Add “Search Users” feature to Users tab
  • Remove check for get_users_of_blog, which was deprecated in WordPress 3.1.

Versione 2.6.2 – Ago 14, 2013

  • Fix notices in PHP 5.4

Versione 2.6.1 – Mar 12, 2013

  • Check if array key exists before stripping placeholder to resolve warnings for some servers

Versione 2.6 – Mar 11, 2013

  • Add “Select All” feature
  • Update minimum capability to manage_categories
  • Fix bug where users may see all categories in certain cases
  • Fix PHP notices

Versione 2.5 – Set 13, 2012

  • Fix bug for saving with pagination

Versione 2.4 – Gen 17, 2012

  • Add pagination controls for Roles and Users. Customize number displayed using the Screen Options tab

Versione 2.3 – Ago 17, 2011

  • Fix bug where custom taxonomies were being hidden on the Add Post screen

Versione 2.2.2 – Lug 13, 2011

  • Fix bug where XML-RPC support was broken

Versione 2.2.1 – Maggio 19, 2011

  • Fix bug where ‘View All’ and ‘Most Popular’ tabs were not set correctly for the Roles screen

Versione 2.2 – Maggio 16, 2011

  • Fix bug where Pages type was not being displayed in Internal Linking WordPress feature
  • Added ‘View All’ and ‘Most Popular’ tabs to each role/user to make it easier to find relevant categories

Versione 2.1 – Maggio 10, 2011

  • Correct problem that prevented tabbed interface from being uploaded

Versione 2.0 – Apr 18, 2011

  • Improve the user interface by separating the Roles and Users via tabs

Versione 1.9 – Mar 30, 2011

  • Added XML-RPC support so categories are restricted using mobile devices and remote applications

Versione 1.8 – Mar 12, 2011

  • Fix bug for WordPress 3.1 users that broke user restriction.
  • Switch code to PHP classes to prevent conflicts with other plugins.
  • Now using register_setting to save options instead of custom method.
  • Uninstalling/Deleting plugin now removes Restrict Categories database options.

Versione 1.7 – Feb 18, 2011

  • Fix bug that hid list of images under Gallery tab on Media Uploader.

Versione 1.6.1 – Gen 24, 2011

  • Fix bug where user restriction was not being applied.

Versione 1.6 – Gen 20, 2011

  • Added restriction based on username
  • Show number of selected categories for each role and username
  • Improve reliability of Posts Edit screen query

Versione 1.5 – Gen 6, 2011

  • Updated user interface
  • Fix bug to allow sub-categories
  • Fix bug to allow duplicate category names
  • Fix bug for categories with single quotes, ampersands, and other encoded characters

Versione 1.4 – Nov 29, 2010

  • Fix for bug assuming database table prefix
  • Migliore compatibilità con PHP 5.2 e controllo array vuoti
  • Added string localization

Versione 1.3 – Nov 23, 2010

  • Update that removes restricted categories from all terms lists (Category management page, Posts dropdown filter, and New/Edit post category list)
  • Fix for “Wrong datatype” bug on checkboxes

Versione 1.2 – Nov 8, 2010

  • Fix for a bug that would allow restricted users to use the category dropdown filter to gain access to categories

Versione 1.1 – Nov 8, 2010

  • Updated list of categories to include those that are unassigned
  • Fixed a small HTML bug
  • Now storing options as an array instead of converting to a string

Versione 1.0 – Nov 8, 2010

  • Plugin launch!