How to Add JavaScript to WordPress Sidebars

If you are trying to monetize your blog using Google AdSense, or some other program that uses JavaScript for their links, keep in mind that some WordPress themes do not allow JavaScript in their sidebars. The Website Managers blog is one of those sites. I went looking for a plugin to handle that for me. What I did not realize was that one was already installed, waiting for me to use it.

The plugin I use for the banner ads is Max Banner Ads by MaxBlogPress. Looking around in there, I saw a rasio button that previously evaded me. By clicking that radio button, a JavaScript box opened up to add the Google AdSense. You can add not only that, but any JavaScript and many other codes too.

For instance, if you use the ClickBank ad manager, CBClicks, you can add that code too. Now I know there are other WordPress plugins that handle things such as rotating ads from various vendors. Those can be found by searching the WordPress plugin repository for things like, "sidebar widget" or "rotate ads".

For monetizing the site with Google AdSense or CBClicks though, Max Banner Ads by MaxBlogPress works just fine. You can add banner links, JavaScript, Flash and other custom code, right in the box. You can install it free. To activate, you need to register with your email address. When your ads show up, you will see a message from MaxBlogPress.

To remove that message, you need to purchase Max Banner Ads Pro. If you leave the message there, which does not look good on all sites, look inside the settings page, down towards the bottom where you will see a place to put a ClickBank affiliate code. When one is entered, the promotional message will be linked to that ClickBank ID. It is a good way to give away free software and get paid for upgrades.

Also check out My Favorite WordPress Plugins

 

Bookmark this Article
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • Furl
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb
  • blogmarks
  • Facebook
  • Google Bookmarks
  • MyShare
  • Simpy
  • TwitThis
Tags: , , , ,

Related posts

5 Responses to “How to Add JavaScript to WordPress Sidebars”

Leave a Reply

CommentLuv Enabled
Tell-A-Friend
Translator
  • Most Popular Posts

  • Categories
    Copyright © 2007-2010 Website Managers. All Rights Reserved.
    SEO Powered by Platinum SEO from Techblissonline