WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a website with the following categories:

  • Videos
  • Pictures
  • Stories

And I have a lot of tags like: Funny, Awesome, Mind Blowing, Crazy, etc.

Is there a way I could filter lets say: Videos tagged as "Crazy"?

I know you can do:


But that would retrieve ALL content tagged as crazy, I just want "Videos".

I've searched WP documentation without luck.



share|improve this question

You can add the category as parameter:


This will list only the posts tagged crazy from category videos. Be aware the conditional tags will treat this as tag archive.

share|improve this answer
Hi toscho, I just tried this filter without luck. Do I need a special template for this to work? – Johann Jan 9 '13 at 22:56
@Johann This should work out of the box, at least if you have permalinks enabled. I have tested it on my local setup. Hm … on one of my blogs it does not work, strange. – toscho Jan 9 '13 at 23:02
I read that this is not native on Wordpress so that's why I was asking. I've permalinks enabled. – Johann Jan 9 '13 at 23:04

Another way that @toscho's solution made me try, and worked for me, is this scheme:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.