If you set public
to false, this taxonomy will get hidden in all places.
So if you want it to be visible in wp-admin, you’ll have to also set show_ui
to true – it will show the admin interface to manage this taxonomy.
You can see the full list of params here:
https://developer.wordpress.org/reference/functions/register_taxonomy/
And here is a generator, that may be a nicer way to create code for registering taxonomies/posts:
https://generatewp.com/taxonomy/
Related Posts:
- Include and Exclude Taxonomies From Archives & Feeds Using ‘pre_get_posts’
- Check if current term is a child of another term
- How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?
- Page queried instead of a custom taxonomy
- Using a different template per Custom Taxonomies for single term archive pages
- Creating an Archive using a Custom Taxonomy
- Display direct children of the current custom taxonomy in taxonomy.php template
- Date archive permalinks for custom taxonomy
- Taxonomy archive showing no results
- Dynamic loading of Archive content based on custom taxonomy term name
- List taxonomies according to whether this post is in another taxonomy in taxonomy archive
- orderby meta_value breaks taxonomy term archives
- Why is the custom taxonomy archive page redirecting me to a single post? [closed]
- How to have two different versions of a tag/category/taxonomy archive page?
- Automatically Give All Custom Post Types a Pre-Set Category [duplicate]
- How to add Post Format Taxonomy Archive page in the menu?
- How does WordPress Parent-Child Taxonomy actually Works?
- Custom taxonomy archive shows 404 error
- Custom Taxonomy index/archive hierarchy
- Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown
- Custom Taxonomy Term Archive Page Template that Filters 2 or more Taxonomies
- How to use multiple archive templates for a taxonomy?
- how does the wordpress rest API work
- Taxonomy archive template that shows posts from more than one taxonomy
- Custom Taxonomy List with Children
- why the archive of custom taxonomy term shows nothing?
- Can I output a custom taxonomy as a submenu in the site navigation menu?
- Add terms to a taxonomy archive from within the same taxonomy
- Custom Taxonomies Archive Page 404
- How to create archive pages for metadata query generated posts (so without taxonomy)?
- How to create a completely functioning separate archive for posts from only 1 or 2 specific categories
- How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?
- Hierarchical taxonomies in permalink cause 404 for sub term archive
- How to get a terms and posts associated with another term?
- Change the Page Title of the Archive Page for Portfolio Tags
- Custom taxonomy return 404
- What’s the url queryvar for a taxnomy archive?
- Multi level archive
- Custom Taxonomy Archives Page Errors
- index.php Not Showing Custom Posts / Terms
- Custom Taxonomy Archive Page for Parents AND Children?
- Redirect or Prevent Viewing of Custom Taxonomy’s Archives?
- Creating a Taxonomy Page [duplicate]
- Exclude 2 in 3 terms of A Taxonomy from all Archives
- Insert code on specific taxonomy archives
- Permalinks not working on MU network with domain mapping
- Custom Taxonomy Archive URL rewrite
- Can you orderby slug in a taxonomy archive page using WP_Query?
- More than one Hierarchical Taxonomy and SEO
- Getting Catategory / Taxonomy Description on Non-archive Pages
- Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post
- Custom taxonomy archive empty
- Why my archive title isn’t showing?
- Creating a custom archive page for WooCommerce products based on tags
- How to prevent new terms being added to a custom taxonomy?
- Taxonomy menu with post count and multiple parents
- Sort Custom Post Type Archive by Taxonomy Term [duplicate]
- wp_insert_term auto unique name
- The same slug in multiple taxonomies
- Sort posts by number of matched terms
- How can I display parent and child taxonomies in separate drop downs?
- Disable single pages and archives and keep preview
- Require a Custom Taxonomy to be checked
- Can I create custom taxonomy what dont creates slug pages?
- User role permissions based on taxonomies
- get_the_terms() to show all custom taxonomies
- Get Taxonmy Term ID For Current Post
- Can I limit term selection to one plus parent?
- Archive page for taxonomy terms
- Get posts by term slug only
- Custom Taxonomy Term Caching?
- Controlling Taxonomy Category listings to hide and unhide specifics
- add_rewrite_endpoint returns 404 on archives
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- woocommerce custom product category template
- Custom taxonomy multiples
- Is there a template file to list all terms of a given custom taxonomy?
- Rewrite Rules returning wrong data
- Use an HTML Element To Filter Taxonomies In WP Search
- Weekdays as terms – How to order taxonomy terms by ID in admin panel?
- How to display ACF taxonomy checkbox links on WooCommerce product category archive
- How to show post for a particular term of custom taxonomy?
- Advanced archive url structure (category, tag and date)
- How to list terms by first letter, as in A’s then B’s etc
- Taxonomy hide not working
- Can I overwrite custom taxonomy FROM “public” TO “false”
- Create new Taxonomy, add extra fields, register terms AND extra fields values?
- How to change custom categories term links?
- Body class to each level of a hierarchical custom taxonomy
- Restructuring permalink with more than one taxonomies
- How to limit custom post category
- Display taxonomy term slugs
- Automatically Populate Post Taxonomy Data Based on Post Author Meta Data?
- Get Posts by tag from a custom taxonomy
- How to change taxonomy slug?
- Taxonomy to WordPress Permalinks of custom post type
- Create WordPress taxonomies based on theme settings
- Alternative for is_taxonomy() to workaround theme’s default sidebar
- I’ve got a function that auto creates taxonomy terms – Can it auto delete them as well?
- Get custom taxonomy value of post and output posts in same taxonomy