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

Reply To: Custom Fields in Search Results

#29160
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

Unfortunately no, that is not possible to do without major custom coding. Filtering might be impossible even then, as the field values are not stored in the meta field.
To display the field values, you will have to check the ACF relationship field api and depending on the use case integrate it with the asp_results hook within the search plugin. This is not an easy task whatsoever, please be very careful when custom coding.

The full templating guide can be found here. I only recommend this feature, if you want to make major changes to the output structure. If you only want to add values to titles, contents etc.. then the upper mentioned asp_results hook is much better for that.