Show All the Tags in WordPress Post Editor

Want to show all the tags in the WordPress post editor, so you can easily tag a post with all available tags – you can with get_terms_args

In your functions.php add in…

add_filter( 'get_terms_args', 'themeprefix_show_tags' );
 // Show Tags
 function themeprefix_show_tags ( $args ) {
 if ( defined( 'DOING_AJAX' ) && DOING_AJAX && isset( $_POST['action'] ) && $_POST['action'] === 'get-tagcloud' ) {
 unset( $args['number'] );
 $args['hide_empty'] = 0;
 }
 return $args;
 }

You still have to click on “Choose from the most used tags” – but now they will all show in a tag cloud.

custom-taxonomy-tags

This example shows all custom taxonomy tags for a term called Dealer Speciality

 

Ref

3 Comments

  1. Roby on March 6, 2018 at 12:33 pm

    GREAT ! Thanks for your suggestion!
    Please is there a mod to have all words in tags with same font size.
    IE: in your example image I would like to have “Uses a Launch Monitor” in the same size and weight of all other words like “rated”.. “Current IPAC member”………
    It is possible?

    Thanks!
    Roby

  2. Tim on February 3, 2018 at 9:05 pm

    Not working for a custom post type like Porfolio. I’m not to good with the fucntions php I guess.

  3. Claire Ward-Dutton on July 11, 2017 at 4:38 pm

    This has made my life so much easier – thank you

Leave a Comment