Home › Forums › Bug Reports › get_field image returns ID only on search results page (PRO) › Reply To: get_field image returns ID only on search results page (PRO)
Sorry to revive this topic but having same issue using
and no matter what return value setting i have, it is always returning the ID, made a vardump and got this:
this happens only in the search results page for wordpress, and it is the only field its not working, cause i have other fields for some custom titles and they are displaying fine.
Used the same code on another section of the same page and it works, the issue is in the search.php file of wordpress where its presenting the bug.
im running lastest version 5.5.7 with the “get_field()” fix, this is the first time i have problems with ACF
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
The ACF site is currently experiencing some issues.— Advanced Custom Fields (@wp_acf) September 29, 2022
We apologize for the inconvenience and we are working hard to get it back up and running as soon as possible.
© 2022 Advanced Custom Fields.