3 hours later…
22:32
@JonSnow If your colleague with database access does not find any issues directly in the database (such as non-unique slugs or orphaned terms) and you are still facing the same problem, then yes, revisiting the custom count approach I initially suggested could be a viable path forward. That method bypasses some of the complexities and potential inconsistencies of WordPress's native category counting, especially in nuanced situations like yours.
That would involve directly querying the posts and then programmatically counting them according to their category assignments. It is a more manual…
That would involve directly querying the posts and then programmatically counting them according to their category assignments. It is a more manual…
« first day (3 days earlier) ← previous day next day → last day (28 days later) »
Transcript for
Mar25
Mar26
Apr8
Discussion between VonC and JonSnow
Imported from a comment discussion on stackoverflow.com/questi...