How to Add an Advanced Search Box in WordPress using Facetious

If you are working on a website with lots of content in custom taxonomies and post types, then you would want to make it easy for your users to find it. One way to do this is by allowing your users to narrow down their search. Previously we showed you how to create a WordPress search form with advance options to choose post type. However, it required adding code to your theme manually. In this article, we will show you how to add an advanced search box in WordPress using Facetious.

An advanced search form in WordPress

First thing you need to do is install and activate the Facetious plugin. Upon activation, the plugin adds a Facetious search widget under Appearance ยป Widgets. Drag and drop Facetious Search widget to your sidebar or any other widgetized area.

Configuration options for Facetious search widget

The plugin allows you to choose which taxonomies and post types to include as a field for search criteria. You can even restrict the search to a particular post type such as posts, page, or media. Facetious also uses a custom permalink structure for search results page which allows the plugin to work well with caching plugins like WP Super Cache and W3 Total Cache.

While allowing users to select categories, tags, and other options to narrow the search results, this option still uses the built-in WordPress search functionality. Most people would agree in saying that its not the best option. This is why we wrote how to add Google Custom Search in WordPress.

We hope that this article helped you add advanced search options to your WordPress website. For feedback and questions you can find us on Twitter and Facebook or you can leave a comment below.