Skip to content

Filter Posts by Multiple Categories in WordPress Dashboard

At the top of the All Posts page inside the WordPress dashboard, there is a drop-down which allows us to filter the posts by category. This option however useful has one glaring limitation: we can only filter posts one category at a time.

The option is therefore unhelpful in scenarios where we may want to show posts under multiple categories or posts contain two or more categories. Fortunately, we can still filter the posts using the same workaround I outlined in filtering WordPress posts by tags.

What’s more, we don’t need to install any plugin to do this but instead only need to edit and load URLs in a specific pattern. Here’s how to go about it.

Filter Posts by Multiple Categories using the URL

Login into your WordPress Dashboard and go to the All Posts page. On your address bar type the URL in the following format and press enter:,category2,category3

This URL will show posts that have ANY of the three categories, as the comma represents an OR operand. Edit the URL appropriately according to the number of categories you need to filter.

To show posts that have two or more categories, replace the comma with a plus:

This URL will ONLY show posts that have both categories, as the plus sign here represents an AND operand.

Filtering Categories with Multiple Words

For any category that has two or more words make sure to separate the individual words using a hyphen this way:

So for instance, if we need to show all posts that have the category Android or Windows Phone, the URL would look as follows:,Windows-Phone

On the other hand, to show posts that have both the Android and Windows Phone categories, we would load the following URL:

I hope that’s clear. If not, please refer to the video tutorial from my YouTube channel that I’ve embedded at the start of the steps. A subscribe to my channel would also be much appreciated!



  1. Hi Kelvin,

    Great article. My issue is with Woocommerce though. Any idea how can I filter products by multiple categories in Woocommerce Dashboard?? I cannot find anything anywhere. You rticle is the closest thing to that.

    1. Hello Vince,
      I don’t use Woocommerce on any of my sites so unfortunately I can not confirm whether this works on it. Have you tried using the same logic but with the Woocommerce dashboard urls instead?

      1. Hi Kelvin,

        Thank you for your reply. Yes, I did try to use the same logic but unfortunately didn’t work.
        If you “hear” around a solution please let me know. In the meantime I will dig deeper the internet underground…


        1. Hello Vince,

          So I decided to do my tests with a WooCommerce installation, and I’ve found that it works just the same. Example, let’s say you’ve the categories:


          To filter all products that are in the categories One or Two, then the WooCommerce dashboard URL that you’ll need to load is:,two

          To filter products that have both the category One and Three you’ll use:

          Let me know how it goes.

  2. Hey Kelvin,
    Thank you so much for your test!!
    After your test I gave it another try and I discovered my mistake: I put underscore instead of the dash in the categories names (my categories have many words).
    So you are right! It works!! Thank you again!!!

    Your post is the only one around that talks about it! Maybe you can index it to get some additional traffic : )

Leave a Reply

Feel free to share your comments or questions with me. I may not be able to respond immediately so please check later once I've approved your comment.

Your email address will not be published. Required fields are marked *

Kelvin Kathia

Kelvin Kathia is a writer that's passionate about sharing solutions to everyday tech problems. He's the founder and editor of Journey Bytes, a tech blog and web design agency. Feel free to leave him comments or questions regarding this post, or by leaving him a message on the contact page. If you found his content helpful, a donation is much appreciated.