Show all (more) tags in right column while editing a post (2 posts)

  1. hquadrat
    Posted 6 years ago #

    Hi all,

    I feel a little unhappy with the number of tags in the right column (below "Post Tags", "Choose from the most used tags in Post Tags") being limited while I edit a post.
    The number is around 50 I guess and has a negative side effect: those displayed will appear far more often and the others might be forgotten.

    I would prefer to see them all even that would make the page a little harder to view on my screen.

    Is the tag-number-limit hard coded? Or where can it be changed?

    Thanks for a hint,


  2. Mark / t31os

    Posted 6 years ago #

    It's hard coded in the admin ajax..

    I can't see any filters or hooks to change that value, but you can change it manually if you want by opening /wp-admin/admin-ajax.php and looking for this line..

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

    Should be around line 621 ..

    I'm sure the area to edit is obvious.. ;)

Topic Closed

This topic has been closed to new replies.

About this Topic