post count question
-
I have modified the plugin to query by ‘or’ intead of in lists mode.
I am having a problem with the post countsI have 4 categories each containing 1 post, 3 are tagged 1
and one tagged 2.example
cata tag1
catb tag1
catc tag1
catd tag2The widget shows the correct post count if no query has been made e.g.
cata = 1
catb = 1
catc = 1
catd = 1tag1 = 3
tag2 = 1if I query by cat a the count then becomes
cata = 1 —- correct count
catb = 2 —- query total if clicked not actual post count
catc = 2 —- query total if clicked not actual post count
catd = 2 —- query total if clicked not actual post counttaga = 1 —- correct count
tagb = 0 —- correct countThe post count seems to reflect the number of results that querying by one of the other categories or tags will result in… not the number of posts available if that makes any sense.
If anyone could give me any advice on how to correct this I would be extremely grateful as I have tried messing around with the post count
function and had varying results none of them suitable for my requirements.Tkhan
https://www.ads-software.com/plugins/query-multiple-taxonomies/
- The topic ‘post count question’ is closed to new replies.