You can show ACF (Advanced Custom Fields) values in widgets that use the Posts List attribute, for example in a post grid. This article shows how to add an ACF field to the Item HTML of your posts widget. The video below shows the same steps.
Step 1
In ACF, create a field group with your fields and set its location rules, for example to show the group on posts. Then open one of your posts and fill in the new fields. You will use this post as an example in Step 3.
Step 2
Open your posts widget in the Widget Creator: go to Unlimited Elements > Widgets, hover over the widget and click the Edit Widget (pencil) icon. Open the Attributes tab and click the Posts List attribute to edit it. To learn more about this attribute, see Post List.
Step 3
In the attribute settings, select the post you filled in Step 1 in Post Example For Custom Fields, and turn on Use Custom Fields. Then save the attribute.
Step 4
Open the HTML tab and go to the Item HTML. In the list of fields on the right, your ACF fields now appear under the posts attribute with a cf_ prefix. Click a field to add it to the HTML. For example, for a field named difficulty:
{{ item.posts.cf_difficulty }}
To show a default text when the field is empty, use the default filter:
{{ item.posts.cf_difficulty|default('default text') }}
Use Post Meta Functions
You can also read any post meta value by its key with the putPostMeta and getPostMeta functions. You find an example under putPostMeta in the same list of fields:
{{ putPostMeta(item.posts.id, "difficulty") }}
{% set myField = getPostMeta(item.posts.id, "difficulty") %}
{{ myField }}