Display All tags on the WordPress article writing page

Source: Internet
Author: User
When writing an article on WordPress, click "select from common tags" to display only 45 commonly used tags. in many cases, you need to manually enter the tags again. this restriction is inconvenient, you can remove this restriction by using the following method to display all labels.

When writing an article on WordPress, click "select from common tags" to display only 45 commonly used tags. in many cases, you need to manually enter the tags again. this restriction is inconvenient, you can remove this restriction by using the following method to display all labels.

Take wordpress 3.5.1 as an example (other versions may be different ).

Open the ajax-actions.php file for the wordpress wp-admin \ nodes des directory and look for it in line 651:

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

Change the number to 45. You can also change the sorting method to "DESC" in descending order to "ASC" in ascending order ".

In addition, if you think it is more appropriate to change "select from common tags" to "all tags", you can continue to toss:

Open the meta-boxes.php of the wp-admin \ schemdes directory to search in row 363rd:

choose_from_most_used
Replace:
all_items

This is perfect.

But after updating the program, you still need to modify it again. it hurts ..

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.