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://www.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

Tired of dealing with your slow WordPress website? Email me at brian@pagecrafter.com and mention the code #FreeHosting10 for two free months of lightning-fast WordPress hosting. We will even migrate you for free!

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.