show all tags wordpress admin post newfeilong.org 修订于2010-04-07 03:15:06
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' ) );
最初发布：20060707 03:05:43 feilong.org 于广州