Published on May 1, 2017 by WPBeginner
Want create site? Find Free WordPress Themes and plugins.

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:

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.

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

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

Notify of
avatar

Bee Thalin
Guest
Bee Thalin
1 month 19 days ago

I don't get a search box, my page is blank. I did exactly like you did. I downloaded the plugin, I clicked on Install, I clicked on Search & Filter in the Panel and copy the [searchandfilter taxonomies="categories,post_tag"], saved the page and view the page – which is blank. What to do? I am using theme DIVI with the latest version of WordPress. Hope to hear from you soon… Bee

trent sohnle
Guest
trent sohnle
1 month 3 days ago

for more in depth with examples: docs.designsandcode.com/search-filter/#how-to-use

trent sohnle
Guest
trent sohnle
1 month 3 days ago

Try this: [searchandfilter fields="search,category,post_tag"]

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
1 month 17 days ago

It sounds like the plugin is having a display issue, you may want to reach out to the plugin's support for their recommendation

kod1 Tutorials
Guest
kod1 Tutorials
6 months 20 days 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
6 months 11 days 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
6 months 13 days 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
6 months 19 days ago

thank you,i will look at that now 😀

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
6 months 19 days 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