Cannot spot any field in posts for the Taxonomies created in CustomPress

I can not spot any field in posts for the Taxonomies created in CustomPress. Can you help me figure out if I missed something?

  • Nithin

    Hi Alex,

    Hope you are doing good today. :slight_smile:

    This seems more like a compatibility issue with the current version of CustomPress, and Gutenberg, however there is a workaround you could apply until this is fixed in the next update.

    I have added the following code as a mu-plugins in your system:

    <?php
    function sb_add_taxes_to_api() {
        $taxonomies = get_taxonomies( '', 'objects' );
    
        foreach( $taxonomies as $taxonomy ) {
            $taxonomy->show_in_rest = true;
        }
    }
    add_action( 'init', 'sb_add_taxes_to_api', 30 );

    You can check this article to know more info about mu-plugins:
    https://premium.wpmudev.org/manuals/wpmu-manual-2/using-mu-plugins/

    I have already added the code, so it should be working fine. Please check, and let us know if you have any further query. Have a great day ahead. :slight_smile:

    Regards,
    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.