找回密码
 注册
搜索
免费空间 免费域名 免费AI 老牌主机商首月仅1美分!27美元/年!Spaceship优惠码 Namecheap优惠码阿里云2核2G3M新老续费同享99元/年!
查看: 188|回复: 4

[问题求助] wordpress代码的adsense问题求助

[复制链接]
发表于 2009-4-30 19:41:33 | 显示全部楼层 |阅读模式
想更改一下我的WORDPRESS中的ADSENSE代码,有下面这些代码,请问如何替换成为我自己的ADSENSE代码?<div id="adsense-top-gad">

<!--[if !IE]> if you want to used your own google tracking code. just replace the code inside<![endif]-->

<script type="text/javascript"><!--
google_ad_client = "<?php include (TEMPLATEPATH . '/adsense-config.php'); ?>";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "616161";
google_color_bg = "616161";
google_color_link = "F9F9F9";
google_color_text = "f8f8f8";
google_color_url = "EEEEEE";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<!--[if !IE]> end header ads <![endif]-->

</div>
发表于 2009-4-30 22:30:54 | 显示全部楼层
帮你顶
:lol
发表于 2009-5-1 08:54:17 | 显示全部楼层
google_ad_client = "<?php include (TEMPLATEPATH . '/adsense-config.php'); ?>";
看这行就知道了,修改这个模板即可,加入你的ID号码
发表于 2009-5-1 08:57:05 | 显示全部楼层
学习一下!
发表于 2009-5-1 09:47:01 | 显示全部楼层
这个谷歌代码是老早以前的了!没有网站是看不出来的吧!
直接把<script type="text/javascript"><!--
google_ad_client = "<?php include (TEMPLATEPATH . '/adsense-config.php'); ?>";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "616161";
google_color_bg = "616161";
google_color_link = "F9F9F9";
google_color_text = "f8f8f8";
google_color_url = "EEEEEE";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
去掉换上你的725X18的就可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|免费吧论坛

GMT+8, 2024-11-29 21:43 , Processed in 0.020522 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表