TL;DR – ACF now has support for the WP REST API
Hey all, Iain the Product Manager for Advanced Custom Fields here 👋
As part of the ACF 5.11 release we added native support for ACF fields in the WordPress REST API. Read more about that here.
Related Posts:
- WP Rest API v2 return posts with specific tag
- Querying A Post That Includes Two Taxonomies Using JSON Rest API
- Loop Performance > JSON files vs. WP_Query vs. REST API
- Custom Taxonomy in custom REST API search
- Display List Of Posts Containing a Relationship Field Value [ACF]
- WP JSON REST API (Ryan McCue) how to query posts with specific meta data with ‘AND’ relation?
- WP_Query result in form of Rest API results
- Using OR conditions in meta_query for query_posts argument
- ACF Relationship Field Search Filtering [closed]
- ACF datepicker meta_query Compare Dates in m/d/Y g:i a – Not in Ymd Format
- How to filter by category in REST API, excluding posts also in other category term?
- WordPress meta_query and order by custom field
- Revolution Slider Orderby Two Custom Fields
- meta_query with array as value
- Order WP Query posts by custom order calculated from post meta values
- Query Posts depends on custom field inside repeater field using acf
- Minimising Database Queries when using Advanced Custom Fields
- ACF – Get lowest & highest value from field
- WP Rest endpoint with custom post type and ACF Fields
- How can I convert results of WP_Query (of Custom Post Type, with Custom Fields) to JavaScript?
- How To Fix WP Query Returns Results But Shouldn’t?
- ACF Date Based wp_query
- Multiple taxonomy And acf filter group by
- WP_Query To call data from diffrent tables
- Custom query based on meta key – Reduce three states to two in results?
- What is the random string I am seeing when I use get_query_var?
- Return only post(s) which have post_excerpt
- Any number in meta key (wp query)
- How do I run through a WordPress loop called from a filter function?
- How can I display a custom field from all posts and order them individually from their parent post
- Custom endpoint to get all custom taxonomy terms
- Is there a way to work with a specific the_field from an already queried post? [closed]
- How to Union two different conditions in one WP_Query
- Excluding pages in WP_query using ACF
- Multisite wp_query & switch_to_blog issue
- Get all fields inlcuding “ACF” (Advanced Custom Fields) columns in wp_query
- wordpress ajax relationship query
- Is there a better way to pull in custom content without querying posts?
- How to add/edit advanced custom fields on custom post type’s WordPress REST API?
- WP User Query with Custom Fields and Search Results
- ACF accessing a field from the query, but not in post
- filter wp_query result with custom field values
- Add ACF field in a query
- Get user first name from custom endpoint
- Query_vars support in Rest API
- Custom route and query
- Expecting statement error from php loop using ACF plugin
- Custom query filter by ACF date custom field
- How to get more data of a post by wp_query
- Get a list of ACF Repeater-Fields as array
- WP Query orderby ACF boolean values and ACF field value
- Optimising WP_Query with ACF Fields
- How can I return only IDs from the `posts` REST endpoint?
- Optimal WP Web App Backend for mobile app development
- How to search by slug and old slug in single API
- WP_Query retuning empty array in rest api
- Order WP_Query by meta_key priority when ‘OR’ relation used for multiple meta values
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- Nearby locations using Advanced custom fields, maps?
- WP_Query – display posts by custom field and order by another
- Excluding posts from search results page with meta query not working
- Populate select list with meta values from all posts of a Custom Post Type
- Form checkbox value going to dynamic URL
- ACF: How can I publish values of ACF fields in a loop while using wp_query?
- wc_get_products() return empty object
- How can I filter products by meta in Woocommerce REST API?
- create custom shortcode wp and put php code in
- Query for getting posts with their custom fields data in WordPress
- How to get taxonomy image attached to a Post Type WordPress
- How to rearrange posts based on input field values added by WordPress “Advanced Custom Fields”
- WP Query with meta queries
- Custom query showing all acf field values instead of the one searched
- WP_Query, ACF field and array
- Pre get posts sort by meta key returns no results if meta key does not exist
- getting posts by tags
- How to query wordpress with array of meta_values?
- ACF query-pass field value
- Query string order by custom field
- ACF: using two loops, the_field returns field content from another loop
- Get posts meta_query by repater field
- WP query retrieve the src of attached image
- Wrap group of wp query posts to parent div by date/year
- Object of class WP_Query could not be converted to int inside shortcode
- Wrote a WP Cron Plugin and it triggers a fatal error upon activation
- WP_Query within save_post doesn’t include the item that triggered the action?
- Issue in If else condition [closed]
- Can’t get the_content to show
- The sorting of posts by a meta_query with two keys fails while separated as single queries it works
- Get the type of an advanced custom field (ACF) in a WP_Query loop [closed]
- Query posts filter not working
- Creating array to compare custom field values
- Display all custom meta field values from the database using ACF Repeater
- Output ACF field dynamicaly within a taxonomy loop [closed]
- How to replecate the _fields parameter in custom REST api endpoint
- How to retrieve _embed (etc) fields in get_posts custom query?
- Get posts using multiple values from ACF checkbox as meta query wordpress
- How do I subquery with custom meta fields?
- Best performance for use Custom Field in WP
- Simple Apex Charts with jQuery not working
- WP_query shortcode inside acf Repeater breaks the repeater loop