How to write the code for manually saving and binding the options in Theme Customizer?

431 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

Hi,

I’m trying to do one thing in Theme Customizer which is to save and load the options manually using the button in one custom control.

Supposed I have a custom control that contains a textarea and a button. The purpose of this control would be like allowing user to enter the input into the textarea then click the button and that input will be saved into the database. Right after that, the entire page is forced to reload (or is there any way to implement AJAX here?) for binding that saved input into any other controls for further selection.

Do you have any advice on this?

Thanks! Paul

by
by
by
by
by
by