701 posts
  • Bought between 1000 and 4999 items
  • Canada
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
chrismccoy says

im trying to implement total post counts for mutiple tags

say tag1+tag2+tag3

meaning posts with tag1 and tag2 and tag3 how many results.

say tag1,tag2,tag3

so post counts for posts with either tag1 , tag2, or tag3.

currrently im using

$tag_count = get_term_by('name', $tag,'post_tag'); echo $tag_count->count;

for single tag counts.

by
by
by
by
by
by