This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Question on search from Custom Fields

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15048
    dmutedmute
    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 MarcinkoErnest 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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.