Custom post type filter by post meta – not returning correct counts
That is normal. Even if you use the core filters, for exmaple filter by month, that numbers doesn’t change. Also, you have made some mistakes in your queyr; for example, you should set the meta_key argumente in the where statement. Anyway, I tink it is much better to use meta_query argument for the main WP_Query … Read more