Can I add multiple arrays within add_theme_support( ‘colors’ )?
Can I add multiple arrays within add_theme_support( ‘colors’ )?
Can I add multiple arrays within add_theme_support( ‘colors’ )?
It would make sense for the default value to be available via: wp.customize.instance( ‘slug_awesome_title’ ).default Or equivalently: wp.customize( ‘slug_awesome_title’ ).default However, I can see the default is simply not getting exported from PHP to JS. I can see that this is going to be needed in core also when client-side templating replaces server-side rendering of … Read more
Having any AJAX inside of the customizer defeats the reason for using the customizer in the first place. The idea of the customizer is that it fully controls the state of the settings while it is active, and having any setting being updated without going via the customizer logic can actually cause a mismatch between … Read more
Add Custom Background Properties to Customizer
This can help you add HTML to a WordPress Theme Customizer https://coreymckrill.com/2014/01/09/adding-arbitrary-html-to-a-wordpress-theme-customizer-section/
“Add A Widget” button in the Customizer
I’ve used multisite to do something similar (display multiple themes). https://codex.wordpress.org/Create_A_Network
Your theme has 1 widget areas, but this particular page doesn’t display them in wordpress
Yes, instead of updating the inline style for the elements directly, a stylesheet should be used instead. You can create a stylesheet template that is used both in JS and in PHP. This was done in the Twenty Sixteen theme and I actually just worked on this in a standalone example plugin for another answer. … Read more
Adding and removing hidden buttons from WordPress Customizer Tinymce widget editor using javascript API