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 need to create a catalog of posts that use lots of categories and sub categories but that can be filtered by tags. I have created a custom post type and assigned custom categories and tags to it. All working. So now I create the posts: Item 1 in SPORT > GOLF >> CLUBS with a tag USA and Item 2 in SPORT > GOLF >> CLUBS with a tag GERMANY.

If I go to mydomain/my-category/clubs Both Item 1 and Item 2 are there. Great.

If I go to mydomain/my-category/clubs?my-tags=usa only Item 1 shows. Great.

If I go to mydomain/my-category/clubs?my-tags=germany only Item 2 shows. Great.

Now, I have created a custom page template that displays a list of categories from my-category taxonomy.

So it shows

    • GOLF
      • CLUBS

What I want to do is add a dynamic drop down menu of my-tags (Countries) so that when a user selects one of them say USA and CLUBS, it filters only the posts with those tags. ie adds ?my-tags=usa to the end of the category's URL.

Can somebody please help me out here before my boss chews my face off.

share|improve this question

Are you not looking for a simple widget like Cat + Tag Filter?

This plugin gives your visitors an ability to filter all your posts by a category or/and tag.

share|improve this answer
Hi @Mark, Thanks for that. Yes that could work! Great, I can save face. – Daryl Glass Aug 8 '13 at 16:08

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.