Adding A Banner Beneath the Featured Stories

First you need to make sure your image is the proper size. I used  a 580 width and it seemed okay. Now were just going to adjust the flickr code slightly so we can add the banner. (Notice: This will take flickr off of your home page. If you want to keep it just copy it and put it either above or below the code.

Open up your screen.css and add the following

/* Banner Box */

#banner {
padding: 10px 0;
border-bottom: 10px solid #f1f1f1;
}
#banner #banner {
padding: 0 15px;
text-align: center;
}

Now open your home.php template and right under the

</div><!– #headline –>

Add this

<div id="banner>

<div id="banner">

<a href="http://www.yourlink.com"><img src="http://www.yoursite.com/imagefolder" alt=""</a>
</div>

</div>

About Marco

I'm a WordPress Enthusiast and share what I learn about theme's plugins, code and reviews of everything WordPress

14 Comments

  • DM
    February 8, 2009 | Permalink |

    Hi Marco,

    Thank you so much. I hate to be targeting you for questions, but premiumwp seems to have dropped off the comments for a while.
    Wow, it’s fun to see how different people use the theme. Yours looks good!
    I’m new at this and seem to be plugging along with the theme fairly well, but still run into things now and again.

    I see the 4 x ad block at the top of your sidebar and I see the 2 x near the bottom.
    I like the 2 x better. Is it because the 4 x seem to be touching tops and bottoms?

    Change of subject. I want to add Google Analytics to some of my pages. It said to just copy the cody and place it right before the tag.

    When I “View Source” of my home page I see the tag, but where do I find it in the files.
    That might be a dumb question, but I’m new at this php stuff.

  • DM
    February 8, 2009 | Permalink |

    Hi again,

    In my previous comment, it should be the (close body tag ) tag.
    That’s what I need to know.
    Also, what is the linktracker script?

    Thank you,
    DM

  • Dm
    February 8, 2009 | Permalink |

    Hi,

    FYI, when I submit my comment, some of the sentences are missing. Hope you can see them on your end, because on this end the comment doesn’t make sense.
    It might be because I had that close body tag included.

  • Dm
    February 8, 2009 | Permalink |

    Fyi, I found the close body tag in the Footer.php Duuuhhhh! Working on no sleep

  • February 8, 2009 | Permalink |

    Thanks DM! First you should get some sleep ASAP then wake up with a clear mind but I know how you feel to many ideas running around your head and trying to get them all done.

    Let me know if you need any more help.

  • Dm
    February 10, 2009 | Permalink |

    I see you have your feedburner counter running. How do you get it to work?
    I just went to feedburner.com and signed up and now have the following address
    http://feeds2.feedburner.com/ wewantflowers
    I put that information in the header.php as per the theme instructions.
    It’s still kind of blacked out. What am I missing? Am I supposed to turn it on somwhere?
    Also, I need to change address in the subcribe button on top.
    Can you help?

    Thank you

  • February 10, 2009 | Permalink |

    Hi DM,

    Log back into your FeedBurner account then click the Publicize tab then on the left hand side you will see another tab for the FeedCount, click that and you will see the information to activate and add the chicklet to your site.

  • dm
    February 10, 2009 | Permalink |

    Cool, I got the counter working. Thanks for that. I’m so happy!

    Still have problem with this part though.

    My Original Feed is:
    http://www.wewantflowers.com/feed/

    New Feedburner Title :
    WeWantFlowers.com

    New Feedburner address:
    http://feeds2.feedburner.com/wewantflowers

    When I click on the subscribe button on top of home page it still shows the
    original feed title http://www.wewantflowers.com/feed/

    It needs to reflect the new feedburner title, correct?

    How do I do that?

  • February 10, 2009 | Permalink |

    Open you header.php and find this string of code:

    < ?php bloginfo('rss2_url'); ?>

    Now replace: < ?php bloginfo('rss2_url'); ?>

    With: http://feeds2.feedburner.com/wewantflowers

    That should do the trick.

  • February 19, 2009 | Permalink |

    1) Teasers missing from the featured headlines

    2) Lightview and Lightbox plugins not compatible. Lightview makes the big-preview images. Lightbox puts a big black box on top of the page.

    Thanks for any suggestions.

    It’s a great-looking theme!

  • February 19, 2009 | Permalink |

    Hi dvopilgrim!

    I see what your saying about the teasers. Are you inserting images first in your posts? Try writing a normal post with just text and add it to the feature section and see if that works.

    As far as the Lightview/box plugins I’ll test them out here and see what I come up with.

  • February 19, 2009 | Permalink |

    Thanks for the prompt reply. That didn’t work either.

  • February 20, 2009 | Permalink |

    Sorry dvopilgrim I tried to replicate the issue but couldn’t. I’ll keep trying. Let me know if you solve the problem though.

  • September 25, 2009 | Permalink |

    Hi Marco,

    I just wanted to say thanks for the great site, it’s helped me learn how to make changes looking at what you’ve done for your site. But I just wanted to let you know that you actually have the wrong code posted for how to insert the banner.

    You have

    When it should be

Leave a comment

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Your email is never shared. Required fields are marked *

You Might Also Like

Plugins »

WP125 Ad Management Plugin

Fri, Feb 27 2009 No Comments
WP125 Ad Management Plugin

With over 13,000 thousand downloads this plugin is hardly a secret but better than a secret is the fact that it works right out of the box. Its great for... 

Tools and Links »

Forums For Your Website

Fri, Feb 20 2009 No Comments
Forums For Your Website

I wanted to add a forum to this site so I decided to browse what was available and suitable for my needs. First I’m looking for something that’s...