Can’t find a good reference for creating custom widgets
Hi I am looking to create my own widget for my websites that would be pretty much having an image that can be chosen for a background and a text field inside that is dynamic using a wysiwyg. I have tried googling it and struggled to get the results I am looking for. Does anyone have a good reference? I would rather make this a reusable piece of code (via function.php) then add it to my customizer.php.