Display Posts with 2 or More Tags – WordPress Tutorial

It’s amazing how difficult it is to Google how to do this exact thing, but it’s so simple. But there are already pages linked into your WordPress site that will display all your posts that are tagged with multiple things. You just need to know how to link to it! Here is an example:

Example: Link to all of my posts tagged both “css” and “website”:

https://pagecrafter.com/tag/css+website

That’s all there is to it! Just add a + between the tags you want to include. This should work with more tags, too! This page will be the normal tag page, but filtered only for posts that have BOTH tags. Alternately, if you use a comma (,) instead of a +, it would display all posts tagged CSS and/or WordPress. It’s a nifty trick that will hopefully help someone out!

About Brian Johnson

Brian Johnson is a website developer and designer living in Minneapolis, Minnesota with a passion for code and WordPress. He spends his days building WordPress websites for small businesses, developing new code with the online community, and living life.

5 Comments on “Display Posts with 2 or More Tags – WordPress Tutorial”

  1. Hi, Is it possible to exclude tags? I have a travel blog, and would like to show all Oslo posts except the ones that have hotel and restaurant tags. Many thanks for any input.

  2. Is there also a possibility to show posts with more than one tag independently from the tag-name?

Leave a Reply

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