Question on search from Custom Fields

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Question on search from Custom Fields

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15048
    dmute
    dmute
    Participant

    Hi,
    Sorry it’s maybe a stupid question 😉
    On my website, I’m using the “Classified” (https://themeforest.net/item/classifieds-classified-ads-wordpress-theme/13481676) which is using his own “Custom Fields” for enter for example number of kilometers of the selling car, type of engine and so on…
    All these custom fields are saved in database, in the table “custom_fields” (“wor2877_custom_fields” in my installation) and the values are in “custom_fields_meta” (“wor2877_custom_fields_meta”)
    Is there a way to search to these data with your plugin, for showing the resulting posts (here there are “ads” ) ?

    Thanks in advance,
    Loup Cattalano

    #15060
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Loup,

    So the “custom field” values are not actually stored as post meta (in the wp_post_meta table), but in a completely different database table?
    If this is the case, then this is unfortunately not possible. Unfortunately there is no modification I can suggest to solve this, as this is a foreign table join (possibly even two), which requires a complete change in the search query.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.