Dragon WordPress

How to add a image banner in a WordPress widget

To add a banner in a wordpress widget(avaiable for WordPress themes which supporting Widgets option) is necessary to pass the following steps:

Open menu AppearanceWidgets.

From Available Widgets draw text widget in the necessary sidebar.

Complete Title space with banner title(or leave empty space).

In the second space(below space) enter the next HTML code:

<a href=”http://dragonwp.com/servers-administration” target=”_blank”><img border=”0″ src=”http://dragonwp.com/wp-content/uploads/2011/12/profservers.png” width=”300″ height=”250″/></a>

In this code, change this elements with your banner elements.

http://dragonwp.com/servers-administration – the link that your banner will direct to

http://dragonwp.com/wp-content/uploads/2011/12/profservers.png – the image link

300 – width in pixels

250 – heigh in pixels

This code will open the link in the new tab. To open in the same tab, remove from code target=”_blank”.

Save using the Save button.