Support » Plugin: Simple Taxonomy » sort of works in WordPress 5

  • So, this plugin still kind of works, but there isn’t a way to add tags to your customized taxonomy with the new Gutenberg editor. You have to add them from the “Posts” directory.

    I don’t know if there is any way to salvage my custom taxonomy as is since it seems to rely on this plugin being active to even use.

    Anyone have solutions here? Should I just convert all those terms to normal Tags before something more catastrophic happens to the plugin?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Don’t know if you’ve managed to resolve this yourself, but there seem to be a number of other users of the plugin who may want to use the Gutenberg interface which may find this useful.

    You could try modifying /inc/class.client.php to add after line 85
    return array( the additional line
    'show_in_rest' => true,

    This should work fine for taxonomies that are Categories or Tags.

    I have not tried it with the Select List or Select List (multiple) options.

    Hope this helps,
    Neil

    Or you could just stop using Gutenberg.
    It works perfectly for me on WP 5.1.1

    My return array stuff is above line 85 and adding that new line at the end (around 74)
    Broke the website. I had to reinstall it

    Please advise I am really desperate since I heavily depend on this plugin

    Sorry, don’t know why the line number was wrong. Should have been 63

    To be more explicit, make

    		return array(
    			'hierarchical' 			=> $taxonomy['hierarchical'],

    read as

    		return array(
    			'hierarchical' 			=> $taxonomy['hierarchical'],
    			'show_in_rest' => true,

    If you had added the line after
    'show_in_nav_menus' => (boolean) $taxonomy['show_in_nav_menus']
    then there would have been an error as this line does not have a trailing comma.

    Regards,
    Neil

    Did you guys find any solution to Gutenberg post editor? I still can’t see the option there 🙁
    Need a solution or some alternative way to create custom taxonomy.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘sort of works in WordPress 5’ is closed to new replies.