Welcome IP: 38.103.63.59

Add a Firefox Referral Ribbon Banner to WordPress

Send this article to a friend Send this article to a friend

This tutorial covers the process of adding a Firefox referral ribbon banner to your WordPress site. If you are a Google Adsense publisher, you might be wondering how to make better use of the Adsense Firefox referral program and make a little more money by spreading the use of Firefox. Through personal experience, I have found the best way to give people the opportunity to try Firefox is to make the advertisement stand out. What better way to do this than to add the header to the top of the page?

Example Firefox Banner Screenshot:

Firefox Referral Ribbon Banner

The Tutorial:

Step 1. Login to your adsense account and setup a "Get Firefox with Google Toolbar" text referral ad. Copy your code to a text file for easy retrieval later in this tutorial.

Step 2. Login to your WordPress Administration panel (WordPress 2.5 and later)

From the Menu, click Design->Theme Editor

From the list of theme files on the right, select your Header (header.php) file

Within the theme editor window, scroll down to where it says <body>

Directly below the <body> tag, add the following code, but completely replace the section with your actual firefox referral code from Step 1.

XML:
  1. <!-- google_ad_section_start(weight=ignore) -->
  2. <!--[if IE]>
  3. <div style="
  4. background-color:#FFFFCC;
  5. border-bottom: 1px solid #FC0;
  6. margin: 0 0 5px 0;
  7. padding: 4px 0;
  8. font-size: 14px;">
  9. <img src="http://www.lancelhoff.com/images/fflogo.gif" mce_src="http://www.lancelhoff.com/images/fflogo.gif" alt="Firefox" style="vertical-align: text-bottom;" mce_style="vertical-align: text-bottom;" />
  10. This site is best viewed with Firefox! <code goes here></div>
  11. <![endif]-->
  12. <!-- google_ad_section_end -->

Step 3. Click update file and go view your site.

You should now have a cool Firefox Referral Ribbon Banner displayed on your site. Google will credit your account up to $1.00 for each person who proceeds to install and use the Firefox browser for the first time.


                            

If you find this information useful, feel free to express your support via a quick PayPal Donation: