• This plugin is really useful when you only want your site managers to choose 1 term for a taxonomy.

    I almost bailed on the plugin until I found the ‘radio_buttons_for_taxonomies_taxonomies’ filter though, because I needed radio buttons on a non-public taxonomy. These should be available by default IMO, but not a deal breaker.

Viewing 1 replies (of 1 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    Thanks for the review and the feedback. I don’t remember why I limited it to only public taxonomies. As you’ve found, here’s how to add private taxonomies:

    function kia_add_private_taxonomies($taxonomies){
    
         $args = array (
                'public'   => false,
            );
    
        $private_taxonomies = get_taxonomies( $args, 'objects' );
        return array_merge( $taxonomies, $private_taxonomies );
    }
    add_filter( 'radio_buttons_for_taxonomies_taxonomies', 'kia_add_private_taxonomies' );

    I would be open to pull requests:
    https://github.com/helgatheviking/Radio-Buttons-for-Taxonomies/issues

Viewing 1 replies (of 1 total)
  • The topic ‘Great plugin. Extremely useful.’ is closed to new replies.