Could it be possible to have the ACF page options and theme customizer work together?
If not, will ACF v5 be going in this way or will it simply be not compatible at all?
Just following up on this. Are there plans to make ACF work with the Customizer? I’d love to use ACF for managing widget fields, but if it does not work in the Customizer, it may be too confusing for my clients.
Thanks for the great plugin-
I decided I needed to get this working so I wrote a plugin to get the ball rolling.
This plugin alters the storage of values for widgets to be more in line with how widget settings are natively stored. This allows for the customizer to work with ACF fields.
I’m still testing, but it seems to be working. Elliot- let me know if you have a chance to review and if you think this approach will work.
Has there been any movement on tying the Options to the WordPress Theme Customizer?
Using the Options for theme settings is great, thus far, but there is a degree of separation for users looking in two separate areas for theme settings in general.
I’m with the other posters here — the Options page, while great, represents more or less the “old way” of doing things. Not that there’s anything wrong with that; it’s what many tools have implemented, not just ACF. But WordPress is clearly pushing for the “new way,” which is the the customizer. Some sort of integration with its API, not only for Options but also for widget fields, would be great.
+1 on this
I’d love to see customizer integration.
I’m looking for it but i didn’t see anything related ACF + Theme_Customization_API
+1 on this as well. I’ve been using Kirki and can easily modify anything in $pre_options table like theme/site wide options, custom css but current customizer doesn’t have a post_meta method or even $post object which would be awesome. Maybe we can help nudge them in the right direction?
Hmmm, looking a bit deeper it might be possible. See https://developer.wordpress.org/themes/advanced-topics/customizer-api/#custom-setting-types
It appears one can use customize_update_$setting->type and customize_preview_$setting->type actions to build a custom setting object that saves/previews data other than theme_mods and wp_options. I haven’t looked to see if customize.php gives us the post object or if we’d have to build a custom query but it looks promising. I’m very surprised there is little mentioned of this on the webz.
Take a look at https://github.com/ericandrewlewis/wp-custom-css-per-post. CSS edits per post could get the ball rolling. Any progress @fabrizim?
Seems to be fixed as of ACF 5.3.7!
Is there any example of this kind of feature?
+1 from me!
I would really like to know what the plans are for ACF and Customizer integration, this very much seems like the way to go for the future…
You must be logged in to reply to this topic.
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!
© 2019 Advanced Custom Fields. Subscribe