Home › Forums › Feature Requests › V5 and theme customizer
Hi Elliot,
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?
Thank you.
Hi Elliot-
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-
Mark
I decided I needed to get this working so I wrote a plugin to get the ball rolling.
https://gist.github.com/fabrizim/9c0f36365f20705f7f73
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.
Hi Elliot,
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.
Thanks!
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
I’m looking for it but i didn’t see anything related ACF + Theme_Customization_API
Any chance to do it?
https://codex.wordpress.org/Theme_Customization_API
https://premium.wpmudev.org/blog/creating-custom-controls-wordpress-theme-customizer/
+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?
+1
Hi
Is there any example of this kind of feature?
Thanks,
Grégoire
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…
The topic ‘V5 and theme customizer’ is closed to new replies.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.