WP custom widget

Soldato
Joined
6 Jan 2006
Posts
3,423
Location
Newcastle upon Tyne
Never really used widgets before but now Ive seen how they work a little I was hoping to add a "Book Im currently reading" widget that can be added to 2 different sidebars.

I know I could just use the "Text" widget and add in the html but if its on 2 sidebars I will have to alter both if I change book!

I know its not a huge issue and will probably only take me 60 seconds more but thought there must be a way to do this?

Thanks
 
if you know a bit of php you can try the php exec plugin that allows you to write your own php inside widgets and pages. using that you can just embed 1 html source into both sidebars so you will ever need to change only one bit of code.

hope that helps :)
 
Back
Top Bottom