Home Support General HivePress Incorrect counting of the number of listing

Incorrect counting of the number of listing

  • Author
  • rafaljosko

    Above a few thousand listing it gets very strange.


    The correct number is 8049 listings, but theme displaying 35395

    the best

    I noticed this problem on every installation – there are several thousand listings

    ihor developer

    Thanks for reporting, will test this – if it’s urgent and you’re familiar with PHP please let me know if you notice any issues in this function https://github.com/hivepress/hivepress/blob/master/includes/components/class-listing.php#L351 It counts the category listings (I had to add this custom callback since WordPress doesn’t count subcategories by default).

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

You must be logged in to reply to this topic.