Count Posts in a Category, Tag, or Custom Taxonomy
Feature Request/Question (1 post)

  1. spabav
    Posted 3 years ago #

    I am not sure if this is implemented, if not please take this as a feature request.

    Can I "query" different categories with AND or OR relationsships?

    I see that you can do e.g.:
    [cat_count slug="cat-1,cat-2,cat-3"]

    But can i do:
    COUNT number of post in category 1 AND 2.. but NOT if they are category 3 ?

    This is something which would come handy for us as we have posts which are in multiple categories and we would like to filter out duplicate counts.

    An example of such "query syntax" can be seen on another plugin we are using ( it displays the posts in certain categories).
    Please go here:

    and you can see how the author implemented "Include AND", "Include OR" and "Exclude" queries.
    Hope this helps.

    Can this perhaps be done already? if not would be great if you could consider this.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Count Posts in a Category, Tag, or Custom Taxonomy
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.