<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>吓我一跳 &#187; ad</title>
	<atom:link href="http://digegg.com/article/tag/ad/feed" rel="self" type="application/rss+xml" />
	<link>http://digegg.com</link>
	<description>分享新鲜，传递快乐</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:43:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>在WordPress上手动添加广告的方法</title>
		<link>http://digegg.com/article/534.htm</link>
		<comments>http://digegg.com/article/534.htm#comments</comments>
		<pubDate>Wed, 11 Nov 2009 16:23:24 +0000</pubDate>
		<dc:creator>Yusn</dc:creator>
				<category><![CDATA[互联网]]></category>
		<category><![CDATA[使用教程]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[广告]]></category>

		<guid isPermaLink="false">http://www.anysns.com/?p=534</guid>
		<description><![CDATA[“有一个独立博客，然后放上Google Adsense的广告”，这似乎成了验证一个人是不是Blogger的标准了，或者说这是每个Blogger的梦想，我也不例外，这个博客我弄了将近一年了，关于在Wordpress上放置广告进行了很多尝试，现在就来分享一下我在Wordpress上放置广告的一点体会吧，当然了你也可以放置阿里妈妈的或其他的广告： 在Wordpress侧栏放置广告： 这个最简单也最常见，打开使用中的主题文件夹找到“sidebar.php”，加入下面的代码，把widget改成你主题侧栏使用的样式，活者自定义一个： &#60;div class=&#8221;widget&#8221;&#62;  &#60;h3&#62;Ad &#8211; Google&#60;/h3&#62; 这里是广告代码 &#60;/script&#62;  &#60;/div&#62; 在Wordpress文章(内容)页放置广告： 这个也比较常见，打开“single.php”，找到“&#60;?php the_content(); ?&#62;” 在Wordpress日志内容顶部加广告： 在“&#60;?php the_content(); ?&#62;”上面加上广告代码即可： 如： &#60;div style=&#8221;padding:3px 0&#8243;&#62; 广告代码  &#60;/div&#62; &#60;?php the_content(); ?&#62; 在Wordpress日志内容下面加广告 方法类似于在日志上面加广告，不同的是广告代码要加在“&#60;?php the_content(); ?&#62;”下面 &#60;?php the_content(); ?&#62; &#60;div style=&#8221;padding:3px 0&#8243;&#62; 广告代码  &#60;/div&#62; 效果如图： 在Wordpress日志左侧加广告 这种样式的广告最常见，感觉也是最美观的，有人称这种效果叫“画中画广告”，也就是文字围绕广告。方法类似于在日志上面加广告，实现的关键是float:left： &#60;div style=&#8221;float:left; padding:3px&#8221;&#62; 广告代码 &#60;/div&#62; &#60;?php the_content(); ?&#62; 效果如图： 在Wordpress日志右侧加广告 方法同在日志左侧加广告，不同的只是将“float:left”改成“float:right” [...]]]></description>
		<wfw:commentRss>http://digegg.com/article/534.htm/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
