Home › Forums › Front-end Issues › Separate day, month, year from Date Picker to css style separately › Reply To: Separate day, month, year from Date Picker to css style separately
You can use either an acf/save_post filter https://www.advancedcustomfields.com/resources/acf-save_post/ or an update value filter for the specific field https://www.advancedcustomfields.com/resources/acf-update_value/
In this filter, depending on which one you use, you would get the value or the field and then split it where you want, or figure out what values to save and then store the value into several post_meta fields. These fields would be separate from ACF, basic WP custom meta. And you would use standard WP functions for setting and getting these values, add_post_meta(), get_post_meta(), etc… or in your case, I guess you would specify these fields in the other plugin you’re using to display them where you want.
Glad you convinced them to use a child theme, there isn’t any case where this is a bad idea.
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.