I’d like visitors to do an ajax request from the frontend of the site.
ex: when visitor clicks a radio button on frontend, the checked radio value updates a corresponding radio field value from an option page.
Then all the fields attached to this option-page radio would then update.
The idea is I have a few color skins for a theme attached to a radio list in option page. Each radio is a different skin.
An other radio list on the frontend would fetch this on radio:checked
Hi @antk3
Yes, you can use the update_field function via an AJAX call.
Perhaps you could start by researching how to perform an AJAX call in WP.
Thanks
E