Support

Account

Home Forums Add-ons Flexible Content Field Pass field from Flexible Content into a widget Reply To: Pass field from Flexible Content into a widget

  • Hi @vasili

    ACF needs a $post_id so that it knows which post to load from.

    If get_field_ID() returns an error, then ACF will not be able to load data.

    Does it make a difference if you place the function BELOW global $post;?
    Does global $post; echo $post->ID; produce the correct post_id?

    Thanks
    E