ACF repeater in results

This topic contains 2 replies, has 2 voices, and was last updated by

1 year, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #30775



    We would like to be able to show an ACF repeater field in the search results, just wondering if that’s possible. I’ve the following but it just prints Array

    {recipe_requirements_ingredients count=5 separator=’, ‘}



    It is not possible, repeater fields all have custom structures and sub fields with sub manes. To show a repeater, you can try the asp_results hook to do it programmatically, I’m afraid there is no other way.
    We tried to implement a solution to do this via the back-end, but due to the nature of these fields is not possible.

    Ernest Marcinko

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



    OK that looks good. Will using that hook allow the matching word to be highlighted.

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

You must be logged in to reply to this topic.