Title: Incorrect &#8220;Posts -&gt; Categories&#8221; counts and &#8220;posts&#8221; table
Last modified: May 19, 2022

---

# Incorrect “Posts -> Categories” counts and “posts” table

 *  [JW-DD](https://wordpress.org/support/users/jw-dd/)
 * (@jw-dd)
 * [4 years ago](https://wordpress.org/support/topic/incorrect-posts-categories-counts-and-posts-table/)
 * Since this plugin creates entries in the “posts” table for media attachments 
   assigned categories, while the posts counts are correct from the Posts -> All
   Posts menu, the post counts on the Posts -> Categories menu are not, because 
   Media Library items are being counted as posts.
 * I deactivated the MLC plugin but, not surprisingly, that didn’t correct the Posts-
   > Categories count issue nor changing the MLC category slug to something other
   than the default “category” value (which I’d left it at).
 * I’ve decided to delete MLC for this particular website, and now am wondering 
   if there’s a method to clean up the “posts” table to remove the MLC records and
   reset the Posts -> Categories count. Looks to be a generic issue for those who
   may try the plugin and later disable it. Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fincorrect-posts-categories-counts-and-posts-table%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Incorrect “Posts -> Categories” counts and “posts” table’ is closed to
new replies.

 * ![](https://ps.w.org/wp-media-library-categories/assets/icon-256x256.gif?rev=
   2658310)
 * [Media Library Categories](https://wordpress.org/plugins/wp-media-library-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-media-library-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-media-library-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-media-library-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-media-library-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [JW-DD](https://wordpress.org/support/users/jw-dd/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/incorrect-posts-categories-counts-and-posts-table/)
 * Status: not resolved