Hello,
I would like to make a custom widget in: Header-structure-3.php. I know how
to make a custom widget found it here: https://codex.wordpress.org/Widgetizing_Themes. But how do I add a custom widget in this theme?
Thankyou
This topic has 5 replies, 2 voices, and was last updated 9 years, 4 months ago ago by Andrew Mitchell
Hello,
I would like to make a custom widget in: Header-structure-3.php. I know how
to make a custom widget found it here: https://codex.wordpress.org/Widgetizing_Themes. But how do I add a custom widget in this theme?
Thankyou
Hello,
First of all, we recommend to use child theme if you plan to do any changes in template files. Child theme archive you can find it in theme package.
Create your widget area (use function.php of child theme). Copy header.php file and headers folder into the child theme folder and make appropriate changes to add widget area.
Hello Andrew,
I already done that. But how do I add the widget then?
Thankyou
Hello,
Never mind already fixed it.
Thankyou
You’re welcome!
Regards,
Andrew Mitchell
The issue related to '‘Add custom widget’' has been successfully resolved, and the topic is now closed for further responses