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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
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 réponses, has 2 voix.
Last updated by Sanny Il y a 7 années et 9 mois.
Assisted by: Luo Yang.