About the Author

author photo

Michael D. Pollock is the founder of Solostream. He's a geek-at-heart and a small business veteran with over 12 years of in-the-trenches sales, marketing and entrepreneurial experience (he mistakenly thinks he may soon have it all figured out).

See All Posts by This Author

How to Place Your Own Banner Ads

There are 2 banner ad positions built into WP-Magazine Theme, and it’s very simple to place your own ads.

Step 1 - Find Your Banner Ad Templates

There are 2 templates for your banner ads. One is named “Banner Ad 300×250,” and the other is “Banner Ad 468×60.” You can access them from the Theme Editor page of your WordPress control panel (under the Design tab or Presentation tab for WP versions prior to 2.5).

Step 2 - Open the Banner Ad Template and Install Your Own Banner Ad Code

When you open one of the Banner Ad templates, you’ll see some code that looks like this:

<div class="banner300"><a href="http://www.solostream.com"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/banner300.gif" alt="300x250 banner" /></a></div>

If you are using Google Adsense, you’d simply need to change the code as follows:

<div class="banner300">
PLACE GOOGLE ADSENSE CODE HERE
</div>

If you are using your own banners, you simply need to upload your banner image to the /images folder within the WP-Mag Theme folder, then change the code accordingly. So for example, if the name of your image is “banner.gif” and you want that banner to point to www.mysite.com, the code would appear like so:

<div class="banner300"><a href="http://www.mysite.com"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/banner.gif" alt="300x250 banner" /></a></div>

And that’s all there is to it. Be sure to click the Update file button, and you’re done.

There Are 8 Responses So Far. »

  1. Hi Michael,

    I was wondering if its possible to put a video (you tube or whatever) at the 300×250 banner spot>

    If so, how hard would it be?

    will I need a plugin?

    Alternatively, is it possible to put in an opt in form?

    Thanks for your support through the tutorials.

    They’ve been a huge help so far.

    Cameron

  2. I want to know it, too!

  3. >>>>> I was wondering if its possible to put a video (you tube or whatever) at the 300×250 banner spot

    It’s pretty simple really … just open the Banner 300×250 (banner300.php) template and place your code in place of the ad code.

    For example, the existing code is:

    <div class="banner300"><a href="http://www.solostream.com" rel="nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/banner300.gif" alt="300x250 banner" /></a></div>

    Just change to:

    <div class="banner300">
    PLACE VIDEO CODE OR SUBSCRIPTION FORM CODE HERE
    </div>

  4. Hi Michael,

    Would it be possible for the banner ad (300*250) to be linked to a category? So when a new category is selected a relevant ad to that category could be displayed.

    Thanks for all help prior to the purchase, it’s a great theme.

    Paul

  5. Hi Paul:

    You’d likely need some sort of plugin for that.

    Check here to see if any will work:
    http://wordpress.org/extend/plugins/tags/ads

  6. Hi Michael, when I mouse over the Free Resources page on my site, I have additional sub pages that drop down but they are hidden behind the video that is currently displayed in the Banner300 PHP location.

    Is there a way to have the sub pages present themselves over the video when a site visitor mouses over the Free Resources page?

    Thank you in advance.

    David

  7. David:

    Try adding this to the bottom of your stylesheet, and see if it solves the problem:

    #nav, #topnav { z-index: 9999 !important; }

  8. Hi everyone,

    If you are looking for support, please visit our forum at http://www.solostream.com/forum/ for immediate answers to your support questions. Otherwise, there will be a delay in answering your support-related comment if left here.

    If this doesn’t apply to you, feel free to comment!

    Alistair

Post a Response