Title: Advert count wrong
Last modified: May 15, 2024

---

# Advert count wrong

 *  Resolved [ahillmortons](https://wordpress.org/support/users/ahillmortons/)
 * (@ahillmortons)
 * [2 years ago](https://wordpress.org/support/topic/advert-count-wrong/)
 * Hi Greg,
 * We are on the Professional Plus plan.
 * We currently have 51 adverts live on our site, on the feed page I have the category
   block above the advert feed, however this is showing 68 in the For Sale category,
   I’ve cleared out any Pending or Draft ads and cleared the site and object cache
   but the count is still wrong by 11.
 * Do you know what might be causing this and how I can get it to sync up again 
   please?
 * Many Thanks,
 * Andy
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadvert-count-wrong%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [2 years ago](https://wordpress.org/support/topic/advert-count-wrong/#post-17756591)
 * Hi,
 * you have ads that are assigned to two (or more categories) for example [https://www.scootering.com/advert/lambretta-indian-api-150/](https://www.scootering.com/advert/lambretta-indian-api-150/).
 * When counting number of ads in the “For Sale” category this item is being counted
   twice as WP is counting assignments to a term rather then actual items.
 * Note that this is how WP itself is counting items not WPAdverts.
 * A complex solution would be to rewrite how WP counts the items, an easier one
   is to allow users selecting just one category or disallow users to select a top
   category.
 *  Thread Starter [ahillmortons](https://wordpress.org/support/users/ahillmortons/)
 * (@ahillmortons)
 * [2 years ago](https://wordpress.org/support/topic/advert-count-wrong/#post-17756621)
 * Hi Greg,
 * Thanks for your prompt reply.
 * That makes sense, I’ll get that changed to single category selection.
 * Many Thanks,
 * Andy

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Advert count wrong’ is closed to new replies.

 * ![](https://ps.w.org/wpadverts/assets/icon-256x256.png?rev=2423472)
 * [WPAdverts - Classifieds Plugin](https://wordpress.org/plugins/wpadverts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpadverts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpadverts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpadverts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpadverts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpadverts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ahillmortons](https://wordpress.org/support/users/ahillmortons/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/advert-count-wrong/#post-17756621)
 * Status: resolved