Support

Account

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

    get_field('training_header_image','option');

    and no matter what return value setting i have, it is always returning the ID, made a vardump and got this:

    string(3) "724"

    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

    please help.