3

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:

http://domainname.com/tag/crazy/ 

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

I've searched the WordPress documentation without luck.

1
  • You've gotten two straight answers. The question is what type of navigation do you want. Commented Apr 4, 2017 at 6:28

2 Answers 2

6

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

http://example.com/videos/?tag=crazy
1
  • This method is much more elegant. @toscho's answer was more direct to the URL structure in question. Commented Apr 4, 2017 at 6:26
2

You can add the category as parameter:

http://example.com/tag/crazy?category=videos

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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