• I have build a search form “phone finder” on my local host by creating various custom fields like brands (nokia, apple, Samsung etc), os (android, ios, windows etc), weight (100g – 120g etc) and so on. For this I first created custom post type called “Phone” and created several custom fields using “Advance Custom Field” plug-in. I just want to test it before going live on my site. When I post the search form using shortcode, it displays the form as usual but doesn’t show any result. When I type brand name on search box, its shows the result of specified post type as well as from other posts too. Where I went wrong? Could you please guide me how to make search form work?

    https://www.ads-software.com/extend/plugins/advance-wp-query-search-filter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TC.K

    (@wp_dummy)

    perhaps you done the wrong setting on the plugin? I really can’t tell what is going wrong by your description.

    You can try to insert the meta field one by one, to see if which one is causing the problem. Eg. insert ‘brands’ 1st, and try to search by this meta field only. If it works, move on with ‘os’ and etc etc…

    So often people cant get it work is because using the wrong compare operator or meta value options. Please double check if there are correct.

    Thread Starter sanshr

    (@sanshr)

    thanks for your reply. please suggest should I start this on the live site to get better findings? If yes then should i have to publish posts first to get the desired search results?

    Plugin Author TC.K

    (@wp_dummy)

    Yes, the search engine only search to your ‘published’ post. So, in your development test, you can always published your posts first and try to search the post through the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search Results doesn't show at all’ is closed to new replies.