WordPress.org

Ready to get started?Download WordPress

Forums

Advance WP Query Search Filter
Search Results doesn't show at all (4 posts)

  1. sanshr
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/advance-wp-query-search-filter/

  2. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. sanshr
    Member
    Posted 1 year ago #

    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?

  4. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.