I need to make a small modification to a
WP widget – a basic checkbox that assigns different
HTML element classes if selected or not.
I am not at all experienced with
WP and I am in a hurry, so please forgive I haven’t read all the documentation and specifications.
I have located the
php file and I can edit it no problem. Now I need to add the checkbox to the Customizer and send it’s state to the
widget function. What would be an easy way to do this? Which files do I need to edit? I have tried to find it on my own, but obviously
WP is a massive project and I couldn’t.
Any help would be appreciated.
Read more here: Minor edit of WordPress widget inside the Customizer