View Single Post
  #1   IP: 218.2.28.151
Old 2007-06-19, 01:25 PM
topvip topvip is offline
超级版主
 
Join Date: 2006-01-04
Posts: 1206
topvip 正向着好的方向发展
Default How to Add Adsense (phpld)

Introduction


So you've decided to add your Google Adsense code to a template, but it isn't working.



Editing a .tpl file


Open up one of the template files. Different ones are for different parts of the page, however I'm going to assume that you know where you want it placed. All you will have to do is add {literal} before your code and {/literal} after your code. Example:



{literal}
Insert your Google Adsense code here. Just copy and paste it from Google's web site.
{/literal}





And that's all you have to do to get it working.
Reply With Quote