How to add taxonomy to Users menu in admin?

The register_taxonomy function is designed only for adding taxonomies to existing post types and custom post types. It’s not something that can be expanded to users. I have just tried a couple of plugins that work with taxonomies and neither are able to attach a taxonomy to a user. from http://codex.wordpress.org/Function_Reference/register_taxonomy : Usage <?php register_taxonomy( … Read more

How do I sort posts by custom taxonomy?

If I understand your question correctly, I think I may have your answer in this blog post: https://evowebdev.com/2017/05/using-a-dropdown-menu-to-filter-a-custom-post-type-with-custom-taxonomy/ This solution specifically uses select form element auto-populated with taxonomy terms to sort CPT posts (ie, rather than presorting posts with pre_get_posts, it lets site visitors sort by the taxonomy term[s] they select). If it’s really important … Read more

How to rewrite custom post type with custom taxonomy urls?

When you are adding a custom taxonomy you are able to declare a rewrite slug – $labels = array( ‘name’ => _x(‘Name’, ‘taxonomy general name’), ‘singular_name’ => _x(‘Singular Name’, ‘taxonomy singular name’), ‘search_items’ => __(‘Search Items’), ‘all_items’ => __(‘All Names’), ‘parent_item’ => __(‘Parent Item’), ‘parent_item_colon’ => __( ‘Parent Ites:’), ‘edit_item’ => __(‘Edit Item’), ‘update_item’ => … Read more