Published on May 1, 2017 by WPBeginner

Do you want to let users filter posts and pages when visiting your site? Letting your users filter posts by category, tags, post types, etc can help sort through your site. In this video, we will show you how to filter posts and pages in WordPress.

Text version of this tutorial:
www.wpbeginner.com/plugins/how-to-let-users-filter-posts-and-pages-in-wordpress/

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook:
www.facebook.com/wpbeginner

Follow us on Twitter:
twitter.com/wpbeginner

Join our circle on Google+:
plus.google.com/+wpbeginner/

Checkout our website for more WordPress Tutorials
www.wpbeginner.com/

Summary of this tutorial:

For this tutorial we are going to use the Search & Filter plugin which can be found here:

wordpress.org/plugins/search-filter

Once activated the plugin will add a new menu item that will take you to the plugin’s usage and documentation page.

It offers a shortcode with different parameters that you can either add to a specific area or add to your theme files.

Each option has its own benefits and the documentation page can certainly help with how to add each option.

Leave a Reply

5 Comments on "How to Let Users Filter Posts and Pages in WordPress"

Notify of
avatar

kod1 Tutorials
Guest
kod1 Tutorials
27 days 1 hour ago

may i ask,do you have to add the shortcode to every single page and post?

Freelance Web Designer | Renzo Salvador
Guest
Freelance Web Designer | Renzo Salvador
18 days 8 hours ago

kod1 Tutorials i think at that point you should add the php code they offer in the template you want it to appear.

Shazy Shazz
Guest
Shazy Shazz
20 days 17 hours ago

WPBeginner – WordPress Tutorials hey i found the article but nothing mentioned as where to put exactly the shortcode neither given in plugin doc. Would you please tell me on which template to add the shortcode: I tried in functions.php and my site went blank. I want to show it site-wide so in which template I should put it? Am using twentyfifteen

kod1 Tutorials
Guest
kod1 Tutorials
26 days 33 minutes ago

thank you,i will look at that now 😀

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
26 days 1 hour ago

You would add the shortcode where you would want it to display or you could take a look at the written article for how to add it to your theme files: www.wpbeginner.com/plugins/how-to-let-users-filter-posts-and-pages-in-wordpress/

wpDiscuz