Orderby an ACF Date Field doesn’t work
-
I’m working on a list of past trade shows. I use CPT and ACF custom field for the “start-date”.
I’m using the LOOP and orderby=”start-date”.
When I display the [field start-date] it outputs like:
NV02-02-2010
(which is why I think the sort order is all messed up)
I set the ACF to output YMD so it should out 20101102 which should sort properly. I think it’s how the plugin (Custom content short codes) is parsing the date output.The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Orderby an ACF Date Field doesn’t work’ is closed to new replies.