WordPress Search Filter Plugins

May be you just wondering how to filter the WordPress search result by category. It’s possible by adding some function to your wordpress, but if you don’t familiar with PHP, I just write a plugin for you called WP Search Filter.

This plugin is simply add a dropdown categories next to the search form. If one of the category is selected, then it will only search on that category.

Actually it’s also possible to filter the search result by custom field , but I will do it later :D

Installation
Just install the plugin and activate. Make sure your search form is called from:

[raw]<pre>
get_search_form();</pre>
<p>[/raw]

Demo:
Please see the live demo at the top right of this website.

$10.99 .CO Domains!

Incoming search terms:

  • wordpress search filter
  • search filter wordpress
  • wordpress search filters
  • wordpress search filter plugin
  • wordpress SearchFilter
  • SearchFilter wordpress
  • filter search wordpress
  • wordpress search category filter
  • a filtered search in word press
  • wordpress search form filter
  • http://www.hfdesign.nl Jasja ter Horst

    @ takien, how dow you use the WordPress Search Filter plugin? Does it atomically ad categories to your default search form after activation?

    • takien

      Hi Jasja ter Horst,
      Yes, WordPress Search Filter automatically replace traditional wordpress search form, and added category dropdown next to it. It will done if only your search form is called from get_search_form(); function, not hard-coded.

      If your theme does not contain get_search_form(); just simply add it.

      Please look at the source code of this plugin, you will see how it works.

      Thanks

  • http://www.kaskus.us/member.php?u=1301507 fcolondam

    wow keren :thumbup:

    nice info gan

  • http://inuel.info inuel

    ini mah udah nyeo mas, salam kenal ya, trimakasih kunjungannya :)

    • takien

      salam kenal juga mbak inuel :) makasih juga kunjungan baliknya hehehe

  • http://www.tekabe.info TKB

    Waw, bahane planetan semuwa mas? Nggak paham nih aku? :lol:

    • takien

      hahahaha, intinya ini plugin bisa ngefilter pencarian di wordpress. :D

  • http://www.tekabe.info TKB

    Walah, komengnya kok ndadak dimoderasi to mas? Apa nggak percaya nih?

    • takien

      kalau baru pertama komeng emang moderasi oom :D
      bukan gak percaya kok :)
      coba besok2 komeng lagi pasti langsung masuk hehehe

      • http://tekabe.info TKB

        Memangnya umure sampean berapa mas? Tak pengin tahu kok sampek aku dipanggil om? (Padahal ini panggilan nyang menyedihken buatku lho mas) :lol: Saya 1971

        • takien

          haha, umur saya 1/4 abad :D

  • http://sumedangonline.com aagun2006

    mantabs tuh gan, tp baru denger reviewna lom coba mau ta coba dulu

  • http://inimu.com/bebas zon

    cool… keren nih, bisa dipasang kapan2
    blognya jg keren, polos tapi jadi unik

    thanks kunjungannya mas, salam kenal :D

    .

    • takien

      heheheh.. makasih.. :D

  • http://side22.com Harry

    belum kepikir sampai search filter nich. ijin download mas. makasih.

    • takien

      hehe, silahkan mas Harry :)

      • http://side22.com Harry

        begitu sempat lihat-lihat source code plugin WP Search filter, memungkinkan tidak bila ditambahin filter arsip bulanan juga ? jika bisa, dikasih opsi sekalian saja mas. fmwiw.

        • takien

          Bisa saja kok, ok ntar kapan2 tak buat ya…
          sebenarnya bisa banyak filternya, bisa by tag, by title, by content, by category, by custom field. etc etc.. :)

  • http://tenebroso.net Jon Bukiewicz

    Thank you so much! Your code is a lifesaver – you are very much appreciated.

    • takien

      You’re welcome Jon Bukiewicz

  • http://julianusginting.wordpress.com julianusginting

    mantaff gan…

    • takien

      thanks gan :D

  • http://blog.rainer-flame.com rainer.flame

    mantap.. ide bagus nih buat mengoptimalisasi search di WP. thx banget gan

    • takien

      tenkyu

  • http://www.harisetiawan.web.id Hari Setiawan

    Nice Plugin Juragan :D

    Ijin sedot :D

    • takien

      Hehe :D

  • Jojo

    Mas, filternya keren, aku dah coba, tapi ada beberapa masalah:

    1. Aku udah bikin category – This works perfectly using your search form
    2. Aku punya banyak tags – ini yang agak bikin bingung hehehe

    Tags di navigasi aku hard-coded sehingga membentuk sub category. Contoh:

    Jual: (link pakai tags)
    - Tanah
    - Villa

    Destinations: (link pake tags semua)
    - Asia
    - Afrika dll

    Harga (link pake tag juga)
    - 1M
    - 2M

    Ada cara gak biar plugin tetep bisa dipakai tetapi form-nya di hard code?

    Thanks ya

    • takien

      waduh, maksudnya gimana tuh ya, tlg lebih jelas lagi. atau linknya kalau perlu.
      kalau sekedar mau filter tags bisa kok..

      • Jojo

        Maaf, aku juga bingung mengungkapkannya :)

        Kemarin kan sempat aku coba, udah jalan bagus, advanced search based on category and tags.

        Namun yang jadi kendala, saat dia melisting drop down menu untuk “tags” dia automatically melisting semua “tags” yang ada.

        Kalau misalnya tags tersebut saya jadikan semacam beberapa “sub category” seperti berikut ini bisa tidak? (pakai hard-coded juga gpp)

        Select destination:

        All Destination
        Jakarta
        Bali

        Select surroundings:

        Beach Front
        Rice Field

        Select price:

        Under US$1k
        US$1k – US$2k

        Trims mas….

  • Niraj

    I just want t o know, Can I add drop-down box of taxonomies?

    In my website, taxonomies is the major concentration in the terms of search.

    Is it possible?

  • http://hackhut.com paul

    thank you for your work. I would love to know how to filter by custom field so bad!

  • Hans

    Bug: If i add some new replacement and click updating. The same replacements are double listed.I´m using the newest version of WP.

    Suggestion: It would be very useful for SEO to enable limiting the frequency of the replacement for every single keyword. The reason is, that for example highlighting one word with “bold” to often in one post isn´t optimal for seo.

    Thanks for your great work

    • takien

      Hello, do you mean to comment Word Replacer plugins?
      If so, I also found that bug, the double listed when updating, but not always. Will be fixed in the next release.

      Thanks.

  • Hans

    I´ve meant, that if you add a new replacement line, this line is listed two times for every line that is new added.

    So if i add 5 new Replacements (5 lines). This lines are double listed and i have to delete/clear the inputs of this doublettes.

    It would be very very nice, if you would include the limitation (eg. “only replace first word found” function or “custom choose”), because i personally use your great plugin for highlighting words and in many cases one article includes 10 highlighted words (not so useful).

    Thanks for your support and work