Home Forums General Issues Cannot get field data


Cannot get field data

  • I’ve attached ACF fields to a cpt.
    Every instance of the CPT has ACF data attached.

    I want to get the data and publish it within a loop.

    Within the loop get_fields returns NULL for every instance of the CPT, despite the fact that ACF custom data exists.

    I know that the custom data exists, because I can see it if I use get_post_meta();

    So how to do I get the field data using ACF’s functions?

    My loop:

  • Your link does not work and shows a suspicious content warning. Please provide code by using code tags available in this forum.

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

You must be logged in to reply to this topic.