Title: Custom Taxonomy
Last modified: August 21, 2016

---

# Custom Taxonomy

 *  Resolved [RobinWebber](https://wordpress.org/support/users/robinwebber/)
 * (@robinwebber)
 * [12 years ago](https://wordpress.org/support/topic/custom-taxonomy-18/)
 * Hi there,
 * Great plugin! I’m trying to get it to work with a custom taxonomy. I think I’ve
   changed most of the ‘category’ settings inside the plugin, but I can’t figure
   out how to change this part:
 *     ```
       wp_list_categories(
       	array(
       	'admin'          => $id,
       	'selected_cats'  => $selected,
       	'options_name'   => $options_name,
       	'hide_empty'     => 0,
       	'title_li'       => '',
       	'disabled'       => ( 'all' == $current_tab ? false : true ),
       	'walker'         => $walker
       	)
       );
   
       $disable_checkbox = ( 'all' == $current_tab ) ? '' : 'disabled="disabled"';
       ```
   
 * The wp_list_categories function is not working for custom taxonomies, so I would
   have to use something like get_terms.
 * Maybe someone already figured this out? Thanks for the help!
 * [https://wordpress.org/plugins/restrict-categories/](https://wordpress.org/plugins/restrict-categories/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [RobinWebber](https://wordpress.org/support/users/robinwebber/)
 * (@robinwebber)
 * [12 years ago](https://wordpress.org/support/topic/custom-taxonomy-18/#post-4853676)
 * Ok my mistake! It is possible to user wp_list_categories with a custom taxonomy.
 * I got the lists working on the options-general.php?page=restrict-categories page
   in the admin, but if I selected all possible terms for the Administrator, the
   terms aren’t showing up in the metabox on the post edit / add new screen.
 * Is there something I’m missing?
 *  [physalis](https://wordpress.org/support/users/physalis/)
 * (@physalis)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/custom-taxonomy-18/#post-4853960)
 * Hey [@robin](https://wordpress.org/support/users/robin/), did you find a solution
   to it? I really badly need a way to restrict taxonomy terms instead of categories
   for users to see and edit in the backend ;).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Taxonomy’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/restrict-categories.svg)
 * [Restrict Categories](https://wordpress.org/plugins/restrict-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-categories/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [physalis](https://wordpress.org/support/users/physalis/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/custom-taxonomy-18/#post-4853960)
 * Status: resolved