Restrict Taxonomies
Sladix By Sladix

December 21, 2017

Restrict Taxonomies Plugin

This plugin restrict the taxonomies terms that users can view, add, and edit in the admin panel.

Based on the Restrict Categories plugin, this plugin allows you to restrict the taxonomies terms that users or roles can use when they publish content. It also provide front end restriction for non logged users.

ToDo List

  1. Prevent the user from accessing the single view of a CPT that is in a disallowed taxonomy

Installation

  1. Upload the restrict-taxonomies folder to to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin in Settings > Restrict Taxonomies
  4. Choose the taxonomies AND the corresponding post types
  5. Activate (or don’t, as you wish) the front end rescrictions

Screenshots

  1. The settings are located in Settings > Restrict Taxonomies

    The settings are located in Settings > Restrict Taxonomies

  2. First choose the post types and the taxonomies to handle

    First choose the post types and the taxonomies to handle

  3. Select the categories allowed for a role or a user (note that user options override role options)

    Select the categories allowed for a role or a user (note that user options override role options)

  4. Should the plugin restrict taxonomies in the front end ?

    Should the plugin restrict taxonomies in the front end ?

FAQ

Does this plugin also works for page taxonomies ?
Yes, the page post type will always be handled, therefore, it doesn’t appear in the post types and taxonomies settings

Installation Instructions

  1. Upload the restrict-taxonomies folder to to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin in Settings > Restrict Taxonomies
  4. Choose the taxonomies AND the corresponding post types
  5. Activate (or don’t, as you wish) the front end rescrictions

Changelog

1.3.3

  • Fixed a bug introduced in 1.3.2 (Thanks to @r-a-y)

1.3.2

  • Fixed a bug that occurred when saving settings on a nth user page

1.3.1

  • Refactored the user tab in order to handle large amount of users

1.3.0

  • Fixed warnings on the plugin activation thanks to Gavin
  • Fixed bug when only a empty taxonomy is allowed

1.2.9

  • Added support for the latest vession of Geodirectory
  • Fixed a bug that occurs when multiples CPT and taxonomies are on a same page
  • Code clean up

1.2.8

  • Added Dokan Dashboard support
  • Changed front hook to pre_get_posts instead of init

1.2.7

  • Fixed warnings for frontend options

1.2.6

  • Fixed warnings for frontend options

1.2.5

  • Fixed warnings reported by @swinggraphics

1.2

  • Added page taxonomies support

1.1

  • Added front end restrictions and settings

1.0

  • Initial release

Details

  • Version: 1.3.3
  • Active installations: 200
  • WordPress Version: 3.1
  • Tested up to: 4.9.26

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars