Showing all tags in admin -> edit post

Someone knows how to show ‘all tags’ insteads of the ‘most used tags’ in edit post of administration panel?
This should give the ability to select with a single click tags that are not yet used!

Here is a screenshot of what I mean: screenshot

Thank you very much.

Ok, I’ve resolved in this manner:
go to wp-admin -> include and open ajax-actions.php file, inside wp_ajax_get_tagcloud function edit line 658, that shows as this:

$tags = get_terms( $taxonomy, array( 'number' => 45, 'orderby' => 'count', 'order' => 'DESC' ) );

and change it with this:

$tags = get_terms( $taxonomy, array( 'number' => 45, 'orderby' => 'count', 'order' => 'DESC', 'hide_empty' => 0 ) );

this will work for me; hope could be useful.

4 Answers
4

Never modify WordPress core files!

Use your template’s functions.php. You can check examples here:

https://wordpress.stackexchange.com/a/198778/69451

Leave a Comment