• Resolved swift

    (@swift)


    I’ve created a custom taxonomy for my custom post type, but I have built a custom interface for assigning the tax (a drop-down as I want only max 1 term assigned) as part of a metabox for the CPT. I want to show the taxonomy in the Admin UI so it’s easy to add/edit terms, but I want to hide the default chooser panel for the tax on the custom post type. In the classic editor, setting ‘meta_box_cb’ => false does the trick, is there any similar way to do this in Gutenberg? I want to show the taxonomy in REST so I can build my custom selector functionality so I set ‘show_in_rest’ => true, but then I get the default chooser in Gutenberg too (in its own panel under Document in the Inspector). how can I remove this?

Viewing 1 replies (of 1 total)
  • Moderator Marius L. J.

    (@clorith)

    Hi there,

    It’s not possible currently, but there’s a ticket to make sure it’s covered as part of our backwards compatibility process.

    You can follow along at https://github.com/WordPress/gutenberg/issues/6912

    I’ll label this thread as resolved, as there’s a ticket associated with it, and we encourage further discussions on the ticket is self to keep information in one location.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Taxonomy – Show in REST, Hide in Gutenberg’ is closed to new replies.