Internet Tips

How to Add 125×125 Banner Ads to Your Right Sidebar

Many people like to display 125×125 banner ads in their sidebar. In this tutorial, I’ll show you how to add them to your own site.

Step 1 – Upload a Generic 125×125 Banner

The image to the right is already located in the /images folder found in your theme folder, so you can use that if you like. The file name is banner125.gif.

Alternatively, you can use your own generic 125×125 banner; just be sure to name it banner125.gif and upload it to the /images folder within your theme folder (or change the file name used below to reflect the name of your own file).

Step 2 – Create a New Text Widget in Your Right Sidebar for the Banner Ads

Add a new text widget to your top right sidebar, give it a title if you like. Then copy and paste the following code into the widget box:


Note 1: In the above code, you’ll need to change mysite.com to your own site domain name.

Note 2: In the img src code above, you may need to change the /wp-mediamag-dev/ part to reflect the actual name of your theme folder.

For WP-MediaMag Basic version, the img src would be:

For WP-MediaMag Premium version, the img src would be:

For WP-MediaMag Developer version, the img src would be:

Step 3 – Replace the Generic Banners and Links With Real Ads

All you need to do is upload your own 125×125 banner image(s) to the /images folder, and change the code above to reflect that.

For example, if you upload a new banner called ad125.gif, and you want to link that banner to www.solostream.com, you would simply change the code to this:

And that’s it. The Stylesheet is already set up to display the ads correctly.

Glenn Tremain

Share
Published by
Glenn Tremain

Recent Posts

AEC2

  Virtual Tours for Architects: Showcasing Projects, Monitoring Progress, and Conceptual Visualization In today’s digital…

3 weeks ago

AEC

Virtual Tours for Architects: Showcasing Projects, Monitoring Progress, and Conceptual Visualization In the contemporary digital…

3 weeks ago

Adobe’s video AI is mind blowing AI video B roll

@kanekallaway Adobe’s video AI is mind blowing #ai #artificialintelligence #openai #adobe #adobepremiere #adobeaftereffects #finalcutpro #video…

1 year ago

Using Midjourney to create digital products

@sarahchrisp The $46k/Month Midjourney Prompt #aiart #midjourney #etsy #businessideas #sidehustle #digitalproducts ♬ original sound -…

1 year ago

Profile Pic using AI

I will be posting more about the types of things out there regarding Getting profile…

1 year ago

Museums income revitalization thanks to 3D and creative ads

Museums, art galleries, hall of fames, Elvis Presley's museum, etc. have all been closed. No…

3 years ago