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 Rest API custom endpoint optional param
- How to import CSV into Custom Post Type custom fields?
- ACF – get fields from group
- How to get “Additional CSS Class” for ACF Gutenberg block
- Advanced Custom Fields select field : How to echo the label, not the value? [closed]
- WooCommerce: Can’t use wc_get_products for custom REST API endpoints
- Adding custom fields to the header.php
- How to get_terms() only of terms matching an ACF meta value?
- How to force Authentication on REST API for Password protected page using custom table and fetch() without Plugin
- Query between dates using Date Picker fields
- Showing an ACF field in admin posts dashboard
- Google Places API With ACF [closed]
- Check for the existence of custom field
- ACF Repeater Field, need IF statement for if sub field has content
- Can not create fields in ACF with code
- Advanced Custom Fields – Check if multiple get_fields exist?
- ACF – Custom fields have dissappeared [closed]
- Error in Validate Field with ACF plugin in WordPress
- Query the REST API for a Tag by slug
- Rest API Custom Endpoint with space character
- How to change the page title from functions.php
- Acf Pro repeater field returns null [closed]
- Insert Commas into ACF number field
- Custom Post type with ACF in REST API, how do I get those values?
- How I can check if get_theme_mod is in header or a template part
- Using pre_get_posts for meta value of LIKE comparison on ACF repeater sub field
- ACF Advanced Custom Fields | Help me grab the fields on my WooCommerce homepage [closed]
- Update post meta value as date difference between two fields
- My get_terms not working for custom fields
- Does it still make sense using json endpoint ep_mask now that there’s the new rest api? [closed]
- How to share repeated fields across multiple pages?
- WP Remote Request not returning all of content via request
- Remove headings option from Wysiwyg editor from ACF in a certain custom post type
- How to force JWT auth for default GET endpoints of WordPress rest api?
- WordPress Rest API custom endpoint for RSS feed
- How to break a date from ACF?
- get all posts in custom post type by ACF field value
- Remove YoastSEO meta description from output/source [closed]
- Advanced Custom Fields changes get stuck in cache
- WordPress Date with ACF
- html element to separate php variable strings – ACF datepicker
- Get image data from advanced custom field [closed]
- Check for image with same filename but different extension
- Advanced Custom Fields if else issue
- If/Else Statement for Advanced Custom Fields
- How to get both image attachment ID and url
- set_query_params using custom params defined in functions file?
- how make file upload field through custom field
- How Do I Use a ACF Custom Field To Add A Slider ID?
- Advanced Custom Fields oembed only outputs YouTube URL
- REST Endpoint API 404
- Hidden field in acf
- Importing ACF code in other page templates
- ACF Content with WPML not saving [closed]
- How do I ensure the social icons appear on all pages? [closed]
- Order get_terms by multiple meta_values
- How can you query posts by advance custom field when the value is a serialized array? [closed]
- Check for duplicate custom field value before running wp_insert_post
- Query by radio button ACF
- Adding new parent item to admin bar
- Display category multi-select with Advanced Custom Felds
- ACF: Grid based on field value
- Rest API Paginate until all posts are imported
- Advanced Custom Field Textarea not Showing (ListingPro Theme)
- Two problems that are likely related to AJAX
- ACF – Eliminate unnecessary data and print
- Get values from an advanced custom field
- Edit (advanced) customs fields on page template
- ACF Posts in Theme Options only returning when logged in? Bug?
- ACF – Adding PHP into Slick Slider Breaks the Slider
- Advanced Custom Fields frontend form submission
- Advanced Custom Fields Gallery and Flex Slider [reformuled]
- Advanced Custom Fields oEmbed video width and height
- Display ACF field(s) from widget in FE
- Convert number to date format within an array
- ACF not updating value correctly
- ACF Repeater and Sort
- Advanced Custom Fields, DatePicker – Check if Set
- Pin to Top Functionality using orderby custom field then event date
- Acf Pro repeater field returns null when call inside foreach
- Relationship field search not retriving posts in admin
- advanced custom fields plugin last input field in new posts
- WordPress loop based on url sting
- Updating custom fields with data from the database
- Advanced Custom Fields repeter field expiration
- Getting “Invalid argument supplied for foreach()” Warning
- WordPress/Timber/Twig – Trying to output checkbox values [closed]
- Using WordPress.com API to retrieve featured images
- upgrading ACF (advanced custom fields) on an old site [closed]
- 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]