• Hi,
    First of all I want to thank you for your great plugin.
    I wonder what do I need to do if I want to search through the custom fields? I’m using geotheme plugin and there I have custom post type place and loads of custom fields displayed on listing page, now I really have to make that search work based on custom fields as well.

    Please let me know what/where do I need to look first to do this.

    Many thanks in advance!

    https://wordpress.org/plugins/ultimate-wp-query-search-filter/

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

    (@wp_dummy)

    You’ll need to know what are the meta keys for the meta field. And in the form setting page, at the Meta Field section, you can add the meta field that you want to filter by its meta key.

    Notice that you have to make sure that the meta field is not saving serialize or array value (multiple values in single meta field).

    Thread Starter netdesignr

    (@paladin884)

    Thanks a lot for your quick answer!

    I’m sorry if I was not clear enough, but basically everything what you have suggested is working fine for me including the multiple values after I’ve made the changes in the code.

    All what I need is when someone is typing inside the search field(string search) to be able to search for more additional information not just the title and the content because for example I have Post Code as a custom field and many others. And I’m not sure if I have to go to do the changes in the WordPress functions or if the plugin got already a hook which will allow me to add the meta keys.

    I hope that make sense now and thanks a lot for your help.

    Regards.

    Plugin Author TC.K

    (@wp_dummy)

    The string search only work for post title and content. If you want to use text input for meta field, you can take a look at this addon plugin.

    Thread Starter netdesignr

    (@paladin884)

    I’ve purchased this add-on but I’m quite disappoint because it doesn’t seem to work as I aspected. I want to allow users to search in one field for more different meta keys/custom fields. Right now the users can search for title and content but is not enough as I have many other custom fields I would like them to search in i.e. Post code, train station, etc….

    Plugin Author TC.K

    (@wp_dummy)

    One field allowed for single meta field only. This is how the plugin works.
    If you want a refund, you can contact me at here.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search through the custom fields as well’ is closed to new replies.