How to : banner in the header
Where to put the Banner
In this post I would like to shear on how to add your banner near the top of your post. I have designated 4 zones as you can see in the picture.
A simple wordpress has a couple of sections such as :
-single.php
-header.php
-sidebar.php
-footer.php
-comments.php
The section that we want to concentrate on is the Header.php
Go to the Wordpress dashboard, appearance, editor and on the right side of the page under templates choose Header.php.
Needless to say before making any changes back up your page or header code.
So a banner HTML code looks something like this :
<em style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; white-space: pre;"><A HREF="http://www.copyscape.com/plagiarism-finder/"><IMG SRC="http://banners.copyscape.com/images/cs-wh-3d-234x16.gif" ALT="Protected by Copyscape Web Plagiarism Finder" TITLE="Protected by Copyscape Plagiarism Checker - Do not copy content from this page." WIDTH="234" HEIGHT="16" BORDER="0"/></A></em>
Zone 1 :
In the HTML text find the <head> and copy paste your banner code above it. And update your file and it’s done.
Zone 2 :
In the HTML text find the <header id="masthead" role="banner"> and copy paste your banner code above it. And update your file and it’s done.
Zone 3 :
In the HTML text find the </hgroup> and copy paste your banner code beneath it. And update your file and it’s done.
Zone 4 :
In the HTML text find the </header> copy paste your banner code beneath it. And update your file and it’s done.
One more thing if you want to align your banner to the left, right or centre use this code :
<p align="right">Banner HTML code</p>
There are a lot of plugins that will assist you on positioning your banner that have multiple advantages such as Max Blog Press
http://www.maxblogpress.com/go.php?offer=Stavro83&pid=51
-Easily create as many ad zones as you like and place them anywhere in your blog.
-Know how well your Banner Ads are performing with in-built Analytics & tracking. Easily track impression, clicks, CTR of your Banner Ads.
-Automatically disable your Banner Ads on specific date or Impression.7
-Easily rotate multiple banners at one spot or multiple spots.
-Etc…
Once again thank you,
Stavro!
Recent Comments
4
Thanks Stavro for this. It's what I've been looking for!