飞龙博客

feilong.org 前端开发教程

show all tags wordpress admin post new

飞龙更新于 2006-07-07 03:05 加入书签 CTRL+D 有 150 个朋友来过

Henning:

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,

Moderator:
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' ) );

飞龙初发:
2006-07-07 03:05
本文更新网址:
https://feilong.org/show-all-tags-wordpress-admin-post-new

所在目录: wordpress

新作:

旧文:

  • html css js
  • angular react vue
  • flutter python