Title: WordPress filter without plugin ?
Last modified: August 25, 2021

---

# WordPress filter without plugin ?

 *  Resolved [lucius100](https://wordpress.org/support/users/lucius100/)
 * (@lucius100)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/)
 * Hi, does there any tutorial online that teach how to make wordpress filter without
   plugin ?
    The filter that works like facetwp. Somehow look like this [https://i.imgur.com/KBPDHW0.jpg](https://i.imgur.com/KBPDHW0.jpg)
 * The filter no need to use ajax, filter on page reload is ok too, would be better
   if we can use multiple checkboxes choices in filter. I would like to show post
   from category,tag,taxonomy filter.
 * Facetwp has a few downside, first it won’t work if we minify the html. second
   it adds additional wp query. If there’s other option, I would like some feedback
   about wordpress filter search.
    -  This topic was modified 4 years, 9 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Everything else WordPress
      topic

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14804244)
 * facewp is a commercial product you should check with the developers for what 
   options they offer. There are filters in WordPress but they are for developing
   and probably not what you are looking for. Since no one has access to this plugin,
   It’s unlikely you are going to find a solution. The filters they are using have
   been developed by the plugin developer and are not part of WordPress’s core. 
   If you have purchase the plugin they should support the plugin and be able to
   answer any of your questions. You can go to this page[ support](https://facetwp.com/documentation/support/)
   to open a ticket with them.
 *  Thread Starter [lucius100](https://wordpress.org/support/users/lucius100/)
 * (@lucius100)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14804466)
 * Uuhhmm no, I am just listing facetwp as example, so u guys know what kind of 
   filter I am talking about. So it’s not really a facetwp problem, and not a support
   question about facetwp. The filter may look like on this site moviewp.com, but
   having multiple checkboxes option will be better if possible.
 *  [Matt Gibbs](https://wordpress.org/support/users/mgibbs189/)
 * (@mgibbs189)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14804548)
 * Full disclosure: FacetWP author
 * Food for thought: just because you _can_ build something, doesn’t mean you _should_
   😎
 * Rolling your own filtering is akin to reinventing the wheel. It’s going to take
   tens (hundreds?) of hours for a competent WP dev to build, even for the most 
   basic functionality. And making sure that all inputs are properly sanitized. 
   And dealing with performance issues when you start needing to combine choices
   or join different tables.
 * A question to ask yourself is “how much is your time worth”?
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14804608)
 * Fair bit, I use FacetWP but am capable of writing it myself. I didn’t for the
   exact reason Matt points out.
 * At the end of the day, your ‘without a plugin’ is actually ‘how do I write a 
   version of FacetWP as my own plugin’ because the amount of code you’ll need is…
   monumental.
 * That said, there is totally worth to be had in learning how all this works 🙂
   I recommend starting by looking at things listed at [https://wordpress.org/plugins/tags/ajax-filter/](https://wordpress.org/plugins/tags/ajax-filter/)—
   that will get your brain started on the road to understanding how all this works(
   and perhaps why they’re all plugins…).
 *  [Matt Gibbs](https://wordpress.org/support/users/mgibbs189/)
 * (@mgibbs189)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14804652)
 * Agreed,
 * If learning is the end goal, then digging into existing solutions is one of the
   best ways to learn. That, and experimenting with WP_Query itself.
 * But if the end goal is “gotta build this site without spending money”, then rolling
   your own is going to be a lot more expensive in the long run.
 *  [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14804738)
 * Lucius100, I subscribed to this thread as interested in the concept as I need
   to develop some data filters, but Facet WP is not an option, not because of cost
   but because I don’t want to build plugin to plugin dependence and want to build
   a solution specific to my own plugin data. Of course I can hack around, read 
   code etc as any dev can / does but if you come across any neat tutorials, please
   post back on this thread.
 *  Thread Starter [lucius100](https://wordpress.org/support/users/lucius100/)
 * (@lucius100)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14805163)
 * [@mgibbs189](https://wordpress.org/support/users/mgibbs189/) I just want a simple
   filter, facetwp too powerful for me, lol. Learn a few things during quarantine
   and WFH should be okay.
 * [@alanfuller](https://wordpress.org/support/users/alanfuller/) I bookmark a few
   articles back then. You can check these out, I didn’t try it yet tho.
    [https://inspirationalpixels.com/search-results-filter-wordpress/#section-final-code](https://inspirationalpixels.com/search-results-filter-wordpress/#section-final-code)
   [https://rudrastyh.com/wordpress/ajax-post-filters.html](https://rudrastyh.com/wordpress/ajax-post-filters.html)
 *  [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14805365)
 * You can build a very simple, non ajax filter simply with a form for example, 
   I haven’t tested this code just knocked as a quick shortcode it up so may have
   plenty of errors, but just to give you an idea. Then look at WP Query for args
   [https://developer.wordpress.org/reference/classes/wp_query/](https://developer.wordpress.org/reference/classes/wp_query/)
 * code – [https://gist.github.com/alanef/8674d782f64cd3f08ba542b6932c7489](https://gist.github.com/alanef/8674d782f64cd3f08ba542b6932c7489)
 *  Thread Starter [lucius100](https://wordpress.org/support/users/lucius100/)
 * (@lucius100)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14812384)
 * Ok, I shall mark this topic as solved, thanks guys 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘WordPress filter without plugin ?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 5 participants
 * Last reply from: [lucius100](https://wordpress.org/support/users/lucius100/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/wordpress-filter-without-plugin/#post-14812384)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
