show all tags wordpress admin post new飞龙更新于 2006-07-07 03:05 加入书签 CTRL+D 有 150 个朋友来过
How to show all or more tags in wordpress admin panel while editing a post or post a new one?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 45 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,
I can't see any filters or hooks to change that value directly, 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' ) );