What “return format” do you have set in ACF for the date field? Sorting by numbers produces unexpected results when you use “d/m/Y” or “m/d/Y”. If you instead choose “Ymd” as in “20180221” for the return format, you’ll get an integer that’s sortable in the expected way.
Related Posts:
- Filtering multiple custom fields with WP REST API 2
- WP REST API: Order posts by meta value (acf)?
- WP Rest endpoint with custom post type and ACF Fields
- Organize media library into folders and get folders via WP Rest API?
- How to get custom fields in a post when published
- Fill up advanced custom field of a custom post type via API REST POST
- WordPress API V2 – filter and order by ACF field
- ACF – get fields from group
- How to get “Additional CSS Class” for ACF Gutenberg block
- Adding a body class with ACF
- Returning all radio button options when using Advanced Custom Fields
- Retrieve custom fields on Categories, using WP-API
- Showing an ACF field in admin posts dashboard
- Google Places API With ACF [closed]
- pre_get_posts filter using numeric meta_query comparison (from dates)
- ACF + contact form 7
- Is there a way to export Advanced Custom Fields data?
- Advanced Custom Fields plugin : displaying a YouTube video
- Advanced Custom Fields – Check if multiple get_fields exist?
- ACF – Custom fields have dissappeared [closed]
- How to add custom fields in rss feed
- How to change the page title from functions.php
- Acf Pro repeater field returns null [closed]
- Add user custom fields and make editable on frontend
- 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
- Display post in order of ACF checkbox?
- Updating the database with advanced custom fields
- ACF custom block get_field() shows null on front-end? [closed]
- How to display genre of music content from one page to another page in wordpress
- REST API: upload media with advanced custom fields (ACF)
- ACF Update_field() update the field but changes are not seen in backend or rest api
- How to decrease the number of queries with get_posts and ACF?
- How to make Advanced Forms (and/or ACF) encode input value?
- ACF (Advanced Custom Fields) not updating post or postmeta values
- ACF Wysiwyg Editor Image srcset for responsive images [closed]
- Filter posts by advanced custom field
- User meta not saving properly
- Filtering from advance custom field data
- Migrating data from ACF to WordPress custom meta boxes
- Is there a better way of retrieving the name of an acf pagelink type from current post?
- Seemingly Simple Conditional Won’t Work?
- Not displaying posts that are in the past. ACF date > date
- acf repeater was free in start [closed]
- Use ACF select field to add a class to div inside a flexible content layout [closed]
- Hide ACF from source code until a “show” button is clicked
- Pull info from Soundcloud embed into a custom field?
- How to disable field on Advanced Custom Fields? [closed]
- Can you make a custom gutenberg block that allows the gutenberg editor within it?
- Add original validation rule to Advance Custom Fields
- ACF – Pick first or second value from comma separated values
- How to get ACF value inside Gutenberg Block from another page or template? I’m using Timber too
- Frontend Form Checkbox Update ACF Field
- ACF and Gravity Form file upload frontend [closed]
- Trying to select 1 item from an array
- Query and display only by first letter of the get_field value
- ACF google map not working [closed]
- Sorting get_terms, ACF is automatically removing duplicates
- Get ACF fields in relationships of returned post
- Random images with no duplicates (ACF Gallery) [closed]
- Only Show an Advanced Custom Fields custom field on a specific template
- Advanced Custom Fields plugin : displaying a field while omitting the p tags
- getting image from ACF
- How to show related post having same relationship filed under single CPT?
- Update field for repeater not working
- How can i add service category here? [duplicate]
- Custom ACF block only outputs commented JSON to the DOM
- Populating ACF Image Fields from JSON file
- WP get_posts meta_query using ACF repeater field
- Getting user data via ajax
- Advanced Custom Fields | Help me link to a variable
- WordPress API – sign-up to multiple Multisites from one single form
- Field has disappeared on post page
- Display posts every specific day
- How to use germ_terms() with meta_query for ACF Taxonomy field?
- Hide Menu Items from guess user with ACF
- Advanced Custom Fields Gallery and Flex Slider [closed]
- advanced custom fields if field has value show main div [closed]
- Display custom image field in user profile
- Build table using Advanced Custom Fields
- Can’t get ACF repeater data in category template
- ACF scheduled repeater fields
- Get the category fields even if there is no post
- display content in ascending order
- Advanced Custom Fields Show After Password [closed]
- Add routes between multiple ACF google maps markers [closed]
- Displays a string of linked images
- use advance custom field inside query post command [closed]
- ACF gives a syntaxError unexpected token
- meta_query for an ACF checkbox field don’t works correctly
- Using ACF on Posts Page
- Advanced custom fields if else statement
- Advanced custom fields and post types
- ACF gallery & bootstrap colls and rows [closed]
- 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
- Section disappears when update pushed to production