Support » Plugins » Hacks » Creating a widget with input fields compatible with Theme Customizer

  • Hi there,

    To develop a widget, this Codex page (https://codex.wordpress.org/Widgets_API#Developing_Widgets) helps and there are bunch of good tutorials available on the internet.

    However, it seems there is not much information for making a widget compatible with Theme Customizer especially when widget form input fields are based on JavaScript such as color picker.

    For example, by developing a widget normally, when a color is selected with the Iris Color picker, Customizer does not trigger the preview update event. Also when a new widget is added, the color picker will not be initialized.

    So is there good information resources for developing such a widget which incorporates JS based input fields?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Creating a widget with input fields compatible with Theme Customizer’ is closed to new replies.