這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Fix Category Count

外掛說明

This plugin will allow you to easily repair and fix your category count for posts, pages and custom post types

You may fix specific or all post type categories that you believe are incorrect.

It is always recommended that you have a backup of your database.

Possible Upcoming Features

  • Show a report after completion of tables updated

Please Read

If you like, or hate this plugin, please rate it on WordPress. If you are having any issues with it, please leave a comment on the plugin page.

螢幕擷圖

  • Wrong Category Count
  • Fixed Category Count
  • Admin view page

安裝方式

  1. To install this plugin, either upload the entire directory to your wp-content/plugins/ directory, upload the zip file in your admin plugins screen. You may also install the plugin through wordpress.org
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. The plugin may be found in the admin menu under Tools

常見問題集

Why does the category count get messed up?

That is a great question.

使用者評論

2024 年 8 月 5 日
Wordpress 6.x , no longer works, “There has been a critical error on this website”
2017 年 12 月 29 日
I have a site with about 30,000 posts and the custom taxonomy count was off. After running this plugin a few times the taxonomy count actually got worse. I had to run it a few times because it timed out. Not worry, though. I used the following SQL to fix the problem and it ran very quickly. 9300 rows affected. (Query took 2.9573 seconds.) UPDATE wp_term_taxonomy SET count = ( SELECT COUNT(*) FROM wp_term_relationships rel LEFT JOIN wp_posts po ON (po.ID = rel.object_id) WHERE rel.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id AND wp_term_taxonomy.taxonomy NOT IN ('link_category') AND po.post_status IN ('publish', 'future') ) Source: https://stackoverflow.com/questions/18669256/how-to-update-wordpress-taxonomiescategories-tags-count-field-after-bulk-impo
2017 年 9 月 20 日
Many thanks, brother. Although I don’t know how comes the wrong number of posts in category… But your plugin is saving my wordpress life…
2017 年 4 月 9 日
The number of posts associated with a category may get mixed up (mine is due to the daily import and deletion of the posts with wp all import plugin) and this plugin can correct this error to the actual number of posts. It also works with custom post types. My suggestion would be the addition of wp cron functionality so it can fix the category counts automatically once in a while to ensure all the categories are up to date.
閱讀全部 8 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Fix Category Count〉的開發相關工作。

參與者

將〈Fix Category Count〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial Development