I am currently developing a WordPress theme, and want to make use of widgets. Everything is working fine, but I would like to create a more custom widget.
The current situation is that I am using the so called ‘text widget’, whith this code inside the editor:
<div id="times">
<div id="times-in">
<h2>Openingstijden</h2>
donderdag 12, 19, 26 november:<br />
14-16 uur - 19-21 uur<br />
vrijdag 13, 20, 27 november:<br />
14-18 uur<br />
zaterdag 14, 21, 28 november:<br />
11-16 uur<br />
</div>
</div>
I want to make it more easy, and would like to create a widget in a way that only this has to be in the widget text editor:
donderdag 12, 19, 26 november:<br />
14-16 uur - 19-21 uur<br />
vrijdag 13, 20, 27 november:<br />
14-18 uur<br />
zaterdag 14, 21, 28 november:<br />
11-16 uur<br />
And the <h2>Openingstijden</h2> as the title of the widget. Does anybody know how I can fix this from the code above?!
Thanks for your help in advance! I hope I have asked my question correctly.