>> Back to: Home
挺好用的BOBLOG加广告方法。留下来以后换了皮皮使用。
修改BOBLOG请不要使用记事本,以免出现编码错误,推荐使用editplus,汉化版下载地址:http://www.crsky.com/soft/1578.html.
都是针对BOBLOG的皮修改,也就是修改elements.php文件。
1:在文章正文上方加广告
本站加入的是链接单元,加相应的广告内容也一样:
查找:
引用
在上面加入:
引用
<DIV style="CLEAR: both; MARGIN-TOP: 5px">
<script type="text/javascript"><!--
google_ad_client = "pub-945xxx";
/* blog */
google_ad_slot = "8983115076";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</SCRIPT>
</DIV>
中间的代码自己修改哟,别把我的直接复制上去了,哈
2:文章正文下方加广告:
查找:
引用
上方面加入:
引用
<DIV style="CLEAR: both; MARGIN-TOP: 5px">
<script type="text/javascript"><!--
google_ad_client = "pub-945xxx";
/* Blog bottom */
google_ad_slot = "0261075002";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</DIV>
</div>
好了搞定,收工
返回顶部
修改BOBLOG请不要使用记事本,以免出现编码错误,推荐使用editplus,汉化版下载地址:http://www.crsky.com/soft/1578.html.
都是针对BOBLOG的皮修改,也就是修改elements.php文件。
1:在文章正文上方加广告
本站加入的是链接单元,加相应的广告内容也一样:
查找:
引用
<div class="textbox-content" id="zoomtext">
在上面加入:
引用
<DIV style="CLEAR: both; MARGIN-TOP: 5px">
<script type="text/javascript"><!--
google_ad_client = "pub-945xxx";
/* blog */
google_ad_slot = "8983115076";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</SCRIPT>
</DIV>
中间的代码自己修改哟,别把我的直接复制上去了,哈
2:文章正文下方加广告:
查找:
引用
<div class="textbox-bottom">
上方面加入:
引用
<DIV style="CLEAR: both; MARGIN-TOP: 5px">
<script type="text/javascript"><!--
google_ad_client = "pub-945xxx";
/* Blog bottom */
google_ad_slot = "0261075002";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</DIV>
</div>
好了搞定,收工
返回顶部
chanthon
2009/08/15 18:26
呵呵 暂时还没有打算加广告呢。
FORECE
2009/08/13 04:14
貌似我就是用的这种方法。。
Life 回复于 2009/08/13 08:55
这个方法挺好的~
myogg
2009/08/11 23:19
正文加广告??
Life 回复于 2009/08/12 18:26
正文加广告只需要安装一个插件就可以了,具体可以到BOBLOG论坛查下,很多人用的。
卢松松
2009/08/11 13:27
bblog用的人不是很多啊
Life 回复于 2009/08/12 18:27
嗯,会逐步扩大的,BOBLOG是个不错的BLOG程序。
亦歌
2009/08/11 12:28
先学习了。呵呵。
Life 回复于 2009/08/12 18:27
呵,你是ASP的
平平
2009/08/11 12:00
我用的是一个插件 感觉也凑合 呵呵

Life 回复于 2009/08/12 18:27
那个插件我也用上了,多多益善嘛
笔头
2009/08/11 11:34
不错,先收藏了~
Life 回复于 2009/08/12 18:27
MS你的也是ASP
分页: 1/1
1
1











九江网站建设
404 not foun