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
- Add ACF fields to Repeater items when using REST API
- WordPress Rest API custom endpoint optional param
- Using the Rewrite API to Construct a RESTful URL
- How to import CSV into Custom Post Type custom fields?
- ACF – get fields from group
- Front end form to create a custom post with preview
- update_post_meta and update_field ony working when saving the post
- How to get “Additional CSS Class” for ACF Gutenberg block
- Advanced Custom Fields select field : How to echo the label, not the value? [closed]
- Why is my custom API endpoint not working?
- ACF: get_field() returning false [closed]
- WooCommerce: Can’t use wc_get_products for custom REST API endpoints
- REST API endpoint for elasticpress autosuggest
- Generate a excerpt from an ACF-wysiwyg-field
- How can I get users email (and additional data) from the rest API?
- Adding custom fields to the header.php
- How to get_terms() only of terms matching an ACF meta value?
- Pods cms and “advanced custom fields” plugin
- How to stop WP API endpoint from caching?
- WordPress 4.7 REST API endpoints
- Adding a body class with ACF
- Returning all radio button options when using Advanced Custom Fields
- How to: Rest endpoint returning empty object
- Retrieve custom fields on Categories, using WP-API
- wordpress REST-API upload image to ACF
- WP Rest API Querying Custom Posts by ACF fields
- register_rest_field for custom taxonomy fields that are assosiated with custom post type
- How to force Authentication on REST API for Password protected page using custom table and fetch() without Plugin
- Custom endpoint that returns an xml
- Get post from custom REST endpoint in Gutenberg
- Query between dates using Date Picker fields
- Order and group posts by acf by month and year
- Get the label from ACF checkbox [closed]
- “rest_no_route” – Debug error
- Advanced custom field – gallery – display one random image
- How to update a custom post title from a front-end form using ACF fields?
- How to send multipart form data to WordPress endpoint
- Showing an ACF field in admin posts dashboard
- Google Places API With ACF [closed]
- Check for the existence of custom field
- Vimeo thumbnails [closed]
- pre_get_posts filter using numeric meta_query comparison (from dates)
- ACF + contact form 7
- WordPress Rest API – Get all posts based on post_meta on custom endpoint
- Is there a way to export Advanced Custom Fields data?
- How to add a custom field to quick edit
- ACF Repeater Field, need IF statement for if sub field has content
- Can not create fields in ACF with code
- Gutenberg First Block on Page Conditional?
- Using meta_query and custom fields within pre_get_posts to return posts within a numerical range
- Comparing arrays with meta_query in pre_get_posts
- Set default date in datepicker of an advanced custom field
- Advanced Custom Fields plugin : displaying a YouTube video
- Advanced Custom Fields – Check if multiple get_fields exist?
- ACF – Custom fields have dissappeared [closed]
- Can I define multiple callback methods depending on the call method?
- Error in Validate Field with ACF plugin in WordPress
- 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?
- Query pages for use of a flexible content layout
- WordPress Gutenberg, update post content programmatically
- ACF get field label in custom code
- Query the REST API for a Tag by slug
- Rest API Custom Endpoint with space character
- Continue execution after WP REST API response
- ACF repeater field with meta_query
- Extending wp JavaScript base class to make a post request to a custom REST endpoint
- ACF attachment custom field in rest response
- How to add custom fields in rss feed
- sort by date in Advanced Custom Field
- Get specific repeater row (via advanced custom fields) based on Meta Query with Wildcards [closed]
- How to customize a divs background dynamically using Advanced Custom Fields Plugin?
- disable (read only) a field if within a custom post type name
- How to update custom taxonomy meta using ACF update_field() function or any other wordpress function
- Replace post’s “the_content” with ACF value
- ACF if / else checkbox [closed]
- PHP echo stripping formatting in Advanced Custom Fields [closed]
- Thumbnails generated from PDF in the “Media” section – how to show them in theme template?
- Post Object field orderby (Advanced Custom Field)
- How to count ACF Flexible Content Rows?
- ACF Plugin – Random Gallery Image with wp_get_attachment_image()
- How to change the page title from functions.php
- Sorting custom admin column by value
- Acf Pro repeater field returns null [closed]
- Query between dates using date picker filter breaks in WordPress 4.2.1
- How to upload multiple images on frontend to ACF gallery using update_field
- Exclude posts w/ specific post_meta on Rest API endpoint
- Add user custom fields and make editable on frontend
- 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