Advanced custom fields uses get_field() function to retrieve the fields. So, all you have to do is to retrieve them by using:
$field = get_field('field_name', $post->ID, 'format_value');
for each of your fields in the loop. You can read this page for more information.
Questions about plugins are off-topic here, That’s why your question haven’t receive much attention in 4 days. But since it was a simple problem i posted the answer.
Related Posts:
- Filtering multiple custom fields with WP REST API 2
- WP REST API: Order posts by meta value (acf)?
- Organize media library into folders and get folders via WP Rest API?
- How to get custom fields in a post when published
- JSON – Create rest api endpoint for Advanced Custom Fields
- Fill up advanced custom field of a custom post type via API REST POST
- ACF orderby not sorting dates correctly [closed]
- WordPress API V2 – filter and order by ACF field
- WP Rest API Querying Custom Posts by ACF fields
- How to send multipart form data to WordPress endpoint
- How to add a custom field to quick edit
- Gutenberg First Block on Page Conditional?
- Request object for validate_callback
- How to order by just the Time Field in Advanced Custom Fields
- Using Gutenberg parse_blocks Function With ACF Custom Blocks?
- How to update custom taxonomy meta using ACF update_field() function or any other wordpress function
- Thumbnails generated from PDF in the “Media” section – how to show them in theme template?
- How to count ACF Flexible Content Rows?
- Exclude posts w/ specific post_meta on Rest API endpoint
- random p tag in advanced custom fields?
- How can I track and output when a field is updated? (currently using Advanced Custom Fields)
- Add up values from ACF number field
- Advanced Custom Fields: Conditional Statement with Select
- Add PDF to ACF image field from file url
- Bulk-Update Custom Posts
- Group ACF repeater fields from differrent posts
- Advanced Custom Fields Plugin: Get file URL into Parent
- html element to separate php variable strings – ACF datepicker
- ACF relationship field outputting unpublished content [closed]
- Show only the future event (Advanced Custom Fields)
- Can’t get “has_sub_field()” to work in a conditional [closed]
- If/Else Statement for Advanced Custom Fields
- Search and replace not working for ACF Images
- set_query_params using custom params defined in functions file?
- How Do I Use a ACF Custom Field To Add A Slider ID?
- Override not echoing my string or dom element
- ACF relationship fields ‘The results could not be loaded’
- REST Endpoint API 404
- Hidden field in acf
- How to show Advanced Custom Fields data above share links, pagination, etc
- How do I ensure the social icons appear on all pages? [closed]
- Strip comma from last element in concatenated JSON string
- How can you query posts by advance custom field when the value is a serialized array? [closed]
- How to get file upload value in front-end to put in ACF image field
- Query by radio button ACF
- Sorting the portfolio by an ACF? [closed]
- How to change the background color of my header dynamically based on a Custom Posts types color value?
- Advanced Custom Fields Plugin: how to use a checkbox to allow a post to show up in desired “zone”?
- TinyMCE’s “Clear Formatting” button doesn’t remove lists and headings
- ACF: Grid based on field value
- Custom Endpoint – Does it possible to use PUT method with WP API Rest?
- Can I use WP blocks in a template?
- Set post publish date by custom field
- Use Acf Repeater data as options for a different acf custom select field
- Attaching Image-file to userId
- ACF get group fields from current post taxonomy
- Is there any way to bulk search-replace URLs that exist within ACF’s “Link” field type (serialized)?
- Transitioning Laravel App into WordPress (Portfolio Website)
- Get UserInfo from WordPress
- ACF – Adding PHP into Slick Slider Breaks the Slider
- Update block once an API request returns with a value
- Creating permissions rules with ACF repeater field
- Advanced Custom Fields frontend form submission
- Display of Custom Fields based on conditional if/and according to category/tag choice
- Comparing two dates (ACF and current time)
- Advanced Custom Fields oEmbed video width and height
- Display ACF field(s) from widget in FE
- Advanced Custom Fields, DatePicker – Check if Set
- How to access advance custom fields with post type in a for each loop
- How to pass get images in homepage also in portfolio page?
- ACF order relationship by date
- How to create an ACF shortcode with Repeater Field in WordPress functions.php?
- Generate custom sized images from certain images in media library
- Acf Pro repeater field returns null when call inside foreach
- Relationship field search not retriving posts in admin
- wp_insert_post with advanced custum fields repeater
- Only list category if it has a custom field image
- advanced custom fields plugin last input field in new posts
- Display “Today” Instead of Date for Pubslished Posts
- Updating custom fields with data from the database
- Time sort with meta_key using UNIX timestamp failing due to date differences
- Getting “Invalid argument supplied for foreach()” Warning
- How not to strip leading zero in advanced custom fields
- update_field() with repeater fields issue [closed]
- Advanced Custom Fields Image Crop
- Display ACF field only if value is greater than 0
- How to use ACF repeater? [closed]
- How to use WordPress to embed a SoundCloud download link?
- upgrading ACF (advanced custom fields) on an old site [closed]
- Updating post object via ACF breaks front-end
- Generate the post title from ACF fields
- Securing REST API wp-json/wp/v2/users endpoint
- show only first element from a type with acf
- ACF – if field has value within Field Group conditional statement [closed]
- Create WhatsApp URL dynamically using ACF Pro from different fields
- Custom title in a wordpress page edit mode with ACF fields
- ACF – not able to loop through flexible content field which is inside a group field
- REST API Plugin Update call back not updating the plugin
- Section disappears when update pushed to production
- Using Nested Blocks With Custom Query Block