How to Edit Your 4 x 125 Ads

How to Edit Your 4 x 125 Ads

Some of you guys have 4 small 125pixel ads in the sidebar of your blog.

Lucky you!

To EDIT what is shown there, just follow these instructions:

1. Log in to your blog

2. Hover over ‘Design’, then click on ‘Theme Editor’.

3. Now look to the links on the right of the page and click on 125.php.

4. When the page loads you will see the following code:

<ul class="banner125 clearfix">
<li class="ad1">
<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/banner125.gif" style="display:block;margin:0;padding:0;" alt="125×125 banner ad" /></a>
</li>
<li class="ad2">
<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/banner125.gif" style="display:block;margin:0;padding:0;" alt="125×125 banner ad" /></a>
</li>
<li class="ad3">
<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/banner125.gif" style="display:block;margin:0;padding:0;" alt="125×125 banner ad" /></a>
</li>
<li class="ad4">
<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/banner125.gif" style="display:block;margin:0;padding:0;" alt="125×125 banner ad" /></a>
</li>
</ul>

5. Now all you need to do is upload your own 125×125 banner images to the /wp-content/themes/yournicheblog/images/ folder, and change the code above to reflect the name of the banner images.

For example, if you upload a new banner called yournicheblog-ad.gif, and you want to link that banner to www.YourNicheBlog.com, you would simply change one of the 4 code sections to:

<li class="ad1">
<a href="http://www.yournicheblog.com"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/yournicheblog-ad.gif" style="display:block;margin:0;padding:0;" alt="YourNicheBlog" /></a>
</li>

6. And you’re done!

Lewis :)

P.S. if you want a free FTP program to upload files to your server try FireFTP. It’s a free firefox addon and works a treat.




Leave a Comment