Problem:
In the admin edit screens, the count of terms is wrong, when a taxonomy (and its terms) are shared among several CPTs.
The custom taxonomy is shared among 5 custom post types, but when checking a specific CPT taxonomy, the post count of each term is for ALL CPTs instead of the count for that specific CPT.
Solution:
In the wordpress back-end, the post count of term is outputted from your database table "wp_term_taxonomy", the value of column "count", which will count posts in all post types, so it isn't a bug, but an expected result:
the post count of each term is for ALL CPTs
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 4 replies, has 2 voices.
Last updated by Sanny 7 years, 10 months ago.
Assisted by: Luo Yang.