I solved the issue
I forgot the line ‘show_in_rest’=> true, in the register taxonomy code.
Related Posts:
- Show all terms of a custom taxonomy?
- How to Add Custom Fields to Custom Taxonomies in WordPress CLEANLY
- How to serialize a Gutenberg block from block attributes in PHP?
- Removing Default Gutenberg Blocks, But Keeping Reusable Block Functionality?
- is_admin returning false in backend in server side rendered block
- Creating custom Woocommerce attribute taxonomies from a plugin
- How to paginate a list of custom taxonomy terms?
- Gutenberg Blocks doesn’t render correctly when using do_blocks
- add_meta_boxes action with refresh on save
- WP_Query | Help me create a search term with an ‘OR’ relation?
- Get used terms by an author as array of strings
- How to get the term before the last from a custom taxonomy?
- How to create filterable portfolio in WordPress?
- WP_Query use for a filter with multiple Taxonomies and Terms
- Show related products by attribute based and certain conditions
- Display acf taxonomy attachment
- How to hide a child category and show his parent category
- How to populate a Gutenberg select field SelectControl with option value from PHP array
- Gutenberg Blocks and get_option() for styling
- How to extend SelectControl with data from my theme
- Get taxonomy terms that share a common object property
- How to update posts’ custom taxonomy selection?
- Copying and pasting to WordPress “code editor” code via the front end and clipboard
- How to retrieve taxonomy Metabox fields in frontend
- WP custom posts: filter results to custom taxonomy tag that corresponds to user meta field
- Gutenberg block don’t save rich text content
- ACF Taxonomy field values not select in backend
- How to add Text before my Custom Term and hide it when empty
- Is there a PHP function that will return the block ID generated by WordPress?
- register_block_type is not working properly
- ACF – Can’t get custom post type by taxonomy
- custom taxonomies not working
- Block that renders html saved in a php file
- Show Gutenberg facebook embed with a custom theme
- Filtering custom posts by using checkboxes for taxonomy in an ajax loop always gives server 500 error
- How to separate the taxonomies list from the form so that editing taxonmies is the same as pages and posts?
- WordPress search query, how to modify the sql
- Using Sprit-sheet on WordPress categories
- Add Custom Taxonomy into Script
- How to insert text into post based on category – via single.php file
- Get Posts by Custom Taxonomy on Custom Post
- str_replace not preserving whitespace
- How to replace hard-coded list of custom taxonomy terms based on custom field query [closed]
- enumerating custom taxonomies?
- how to display child terms with parent terms in custom taxonomy?
- Custom Taxonomy Link Text Echo Name Not Slug
- Custom Taxonomy as Link
- WordPress Rewrite Issue
- Limit Taxonomy Parents
- Page 2+ of taxonomy archives does not recognise sort-order from dropdown
- Get category id for a custom category and display it in a class
- Saving category as insert post
- How to show all of aspecific post type that has taxonomy and a specific term
- Pass custom value to custom taxonomy
- Query specific posts per user selections from dropdown menus
- How do I change the Go To Categories link in the term_updated_messages
- Display terms on product page with shotrcode
- Gutenberg – render_callback does not pass ToggleControl value on frontend
- Query posts by custom taxonomy slug in WP REST API?
- How can I change the URL via add_rewrite_rule()
- Add default block css when the block has been added with php?
- Custom Post Type doesn’t have template content when creating programmatically in PHP but does when created in WP Admin
- WordPress different custom tag being displayed in on tag list
- How to add different menu items on different menus?
- How to enable REST API on custom post type without Gutenberg?
- Get category name of current post (CPT UI)
- Three different queries on same page
- I want to show image from custom field image on my custom page template
- Replace block content with an array
- How do I organize posts based on their taxonomy?
- Include a static block inside of a dynamic block
- How to make multiple custom taxonomies sit under custom post type slug?
- WordPress Block Editor Gutenberg running code inside ! is_admin()
- Manipulating the allowed inner blocks of a core-gutenberg-block?
- Same Custom Post Type Slug and Custom Taxonomy Slug, with hierarchial unique permalink structure
- WordPress CPT & Custom Taxonomy with the SAME Permalink Structure
- Adding features to Gutenberg without theme.json
- Registering a custom block style
- translating a custom taxonomy term in a shortcode
- Remove slug and custom post type name from URL
- how can I get the selected term of a custom taxonomy
- Hot to show custom post type taxonomies on archive page
- Get column block count using PHP method render_block
- do_blocks not working with a custom block
- ACF block gutenberg aligncenter don’t work
- Execute a PHP Function when a Block is used and access it’s attributes
- How to edit templates created in the block editor in code / template files not updating
- Programmatically convert single classic block to individual blocks via PHP
- Show the terms of the hierarchical taxonomy
- Add custom data attribute to every core Gutenberg Blocks
- Embed dynamic media query in a Gutenberg block
- Get generated block styles programmatically
- Custom gutenberg block refuses to load viewScript and I don’t know why
- When a foreach loop is used multiple times in blocks, is there a way to ensure a variable always has a unique value?
- Prevent render in editor via PHP
- How to get the post title inside a custom block in a loop? block.js
- How to Bulk Update CPT Taxonomy Values Using CSV Lookup Table
- How to display only the first 2 words of a post title
- How to get the content of a dynamic block in PHP
- Set custom post type to load custom block pattern by default