Comment on WordPress Theme Development by SEO Dave.

Stallion Responsive WordPress Theme Change the Talian 5 banners into a clickable banner link

Edit the landscape-images.php file and replace:

<?php if(bannerson()==1){ ?><div id="put-image-here" style="background: url(<?php bloginfo('template_url'); ?><?php _e('/banners/' . bannerset() . '/landscape-'); ?><?php echo(rand(1,bannersize())); ?>.jpg)"></div>

With

<?php if(bannerson()==1){ ?><div id="put-image-here"><a href="http://www.domain.com/"><img src="<?php bloginfo('template_url'); ?><?php _e('/banners/' . bannerset() . '/landscape-'); ?><?php echo(rand(1,bannersize())); ?>.jpg" alt="Add Relevant Keyword Rich Text Here" /></a></div><?php } ?>

Change with the URL you are linking to and ‘Add Relevant Keyword Rich Text Here’ with something you want the link to rank well for.

This will change the current banner set you have now to link to a site. This is not a good idea as the 10 banner images will be indexed by Google etc… and they don’t really add anything SEO wise.

To avoid this problem, in the Talian options set the “Banner Set” to “Custom” and the “Banner Set Size” to “1”. this will mean only one image will be shown and so only one will be indexed.

Create a new banner called landscape-1.jpg (dimensions 560px x 120px or very close to that size) which is your affiliate banner. Put this in the folder /talian-adsense-clickbank-seo-05/banners/custom/ on your server.

This will turn the random banner into one banner image that links to the site of your choice.

If you wanted to SEO the image name from landscape-1.jpg to something like keyword.jpg you’d create a file called keyword.jpg (name it anything you like), put it in the custom folder and change the code above to

<?php if(bannerson()==1){ ?><div id="put-image-here" style="background: url(<?php bloginfo('template_url'); ?><?php _e('/banners/' . bannerset() . '/landscape-'); ?>keyword.jpg)"></div><?php } ?>

where keyword.jpg is the image name.

The image will be SEO’d as well then, though if it’s an affiliate banner/link probably not a great deal to gain SEOing it.

David