How Do You Add Google Adsense Code to a .tpl file?

Working with some template files (.tpl ) files this week and came across problem with Google Adsense code not showing up.

AdSense Code Not showing Up?

My Adsense code was not showing up when I pasted into some .tpl files
.I knew I was supposed to do something but took me a bit to figure out. The answer was pretty straight forward, need to add literal tags. Literal tags prevent a section of the template from being parsed, placing the contents directly into the template.
Basically- this is all you need to know:

{literal}
ADSENSE CODE HERE
{/literal}

You can open up the .tpl file in notepad or edit in your ftp client as well.

Read Other Related Blogging and Web Marketing Posts

    Favourite Word Press Plugins
      Editing a Widget- Changing the Meta Widget in WordPress
        Basic HTML Cheat Sheet – Basic HTML Code and Tags To Use in Your Blog
          Trouble adding MyBlogLog Plugin to WordPress
            Using Aggressive Google Adsense Ads for Higher CTR – Embedding Your Google Adsense Ads into Posts

            Discussion Area - Leave a Comment




            dofollow directory logo