the $args
need to onclude 'show_in_rest' => true
from https://developer.wordpress.org/reference/functions/register_taxonomy/
‘show_in_rest’
(bool) Whether to include the taxonomy in the REST API. Set this to true for the taxonomy to be available in the block editor.
Blockquote
Related Posts:
- What is singular.php?
- Where, When, & How to Properly Flush Rewrite Rules Within the Scope of a Plugin?
- Correct Post Count ( All | Published | Drafts | Pending | Trash ) for Custom Post Type when restricting to view own posts
- Remove slug in taxonomy url
- Custom post type permalink is doesn’t show in admin
- Custom Post Type with Input fields to seperate table on database.
- How Can I save multiple records in same meta key?
- Custom post type or just use custom fields
- Seperating custom post type comments from regular blog posts comments
- How to Programically add to the new WordPress menus
- What order? register_taxonomy() register_taxonomy_for_object_type() register_post_type()
- Creating a custom post type upon registration
- Showing Meta Data for Custom Post Types?
- How can I fix a slow redirect after form submit from frontend (no plugin)?
- Metabox saving values
- WooCommerce – Show orders for a specific product ? [closed]
- Linking together two different custom post types
- Custom role capabilities to administrator not taking effect (no plugin)
- How to get a list of post types that “support” various things such as page-attributes?
- Show Post Count of a Category
- Set Custom Image Size Just For Specific Custom Post Type
- Function to get permalink of custom post type archives?
- I changed post_type and now I receive 404 errors
- Filter the content from a post globally immediately after is fetched from the database
- Add multiple custom post type issue
- Filter categories of posts with checkboxes
- Post Object Filter by Custom Field, not title (ACF)
- Shortcode for display posts on home page show only one post
- Only show posts from a certain category?
- Custom Post Type as Home Page Problem
- Common categories for two custom post types
- Shops listing (CPT VS Plugin)
- Correct classes for WordPress menu items
- How can I see a list of my Custom Post Types of the last term I was in?
- Adding user capabilities for a custom taxonomy of a custom post type for a custom user
- Removing custom post type slug from URL
- How to display “Category and Post_tag” component in a CPT Gutenberg edit screen?
- Custom Post Type not showing in Rest API on Multisite
- Redirect custom post type category to other custom post type category
- Rewrite URL of Custom Post Type for Jobs
- Looking for Direction regarding Custom Posts
- Display custom taxonomy on my custom post type
- List Categories (wp_terms) and count posts
- get_post_types is not showing all registered posts
- Custom Post Types not queried in Custom Taxonomy archives or Native archives
- Should Custom post types and fields be in the theme files or in a custom plugin packed into the theme?
- Add more than one custom post type to wordpress home page post loop
- Using custom post types WordPress network
- Custom Attachment Type
- custom post type or taxonomy, which approach is better?
- Custom post type, permalink, add query variables problem
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- WordPress is ignoring my post rewrite rule
- Apply category query clause to posts of custom type
- Duplicate content problems after adding an archive page to the article’s post type
- CPT relations use in permalinks under single post type
- Warning , Use of undefined constant PLUGIN_PATH?
- if i use custom category for custom posts its single page shows 404 error else it’s working good in wordpress
- get first limited words from a custom post in the archive page
- Query the title of the page to show posts with matching category in the loop
- WP Query tax_query not returning posts
- How to show terms used only for particular custom post type. Filter creation perpose
- How should i name the .php file to show custom posts under a taxonomy’s term?
- Form to custom post type and custom taxonomy
- Show index and not the archive for “Dog Custom Post” with default slug
- Adding second comments.php for reviews
- template structure for CPT not clear
- Trouble showing showing Posts related to custom post type and taxonomy.
- How can I create post templates that users can choose from?
- custom field suit new post with in custom fields
- Add 2 Taxonomies to Custom Post
- Listing future posts together with normal posts
- Query Custom Post Type and sort by year
- update custom taxonomy with Ajax in edit.php file [duplicate]
- Custom post type and have_posts() return empty result
- Update an existing post in a custom post type
- Page template with custom query instead of archive-xxx.php?
- Tracking Total Pageviews By Post Type In Google Analytics
- Why custom search engine only searches in post titles of custom posts?
- Send email on creation of custom post type and use get_post_meta()
- Can I add a wordpress page using the slug for a CPT rewrite
- YARRP related posts with custom post type and wp-graphql
- Menu Structure and URL structure, with Pages and Post-Type-Posts
- Is there a function that replace category name with a icon?
- Custom Post Type urls not working
- Just the First Metabox what saves the data!
- pre_get_posts causes Custom Posts appear under ‘Pages’ menu
- Assign a tag to custom post type using a query
- Why isn’t page attributes dropdown not showing up in a custom post type
- Show custom category archive as front page and remove taxonomy slug from urls
- Post object GUID adding http:/
- WordPress does not show the custom fields box
- Create a hierarchical list of posts that’s grouped and nested by category
- Two pagination in one page without AJAX
- I want to show a list of post with title that have link goes to that post and icon under the specific category to which it belongs
- Show a wordpress custom post condtionally using a category term
- Categorizing Custom Posts in Bulk Based on Title
- Query order by a numeric ACF field
- Meta_query question
- post__in select all custom posts and not the selected array of ids