Home › Forums › General Issues › Using ACF date to sort custom post types not sorting correctly › Reply To: Using ACF date to sort custom post types not sorting correctly
The WP date field is not a post meta field. The only think that could interfere is another meta field named “date”
It is almost always better to use names that you know will be unique.
There isn’t any way that currently exists that will let you automatically update all the fields if you change the field name. This would be additionally problematic in this case if there is another field using the same name since you wouldn’t know what one to change in the database.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.