<?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; 图片</title>
	<atom:link href="http://digegg.com/article/tag/img/feed" rel="self" type="application/rss+xml" />
	<link>http://digegg.com</link>
	<description>分享新鲜，传递快乐</description>
	<lastBuildDate>Tue, 31 Jan 2012 13:49:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>如何让WordPress首页不显示图片</title>
		<link>http://digegg.com/article/587.htm</link>
		<comments>http://digegg.com/article/587.htm#comments</comments>
		<pubDate>Mon, 28 Dec 2009 04:17:43 +0000</pubDate>
		<dc:creator>Yusn</dc:creator>
				<category><![CDATA[使用教程]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[图片]]></category>

		<guid isPermaLink="false">http://www.digegg.com/?p=587</guid>
		<description><![CDATA[因为模板的需要有时候可能会要求禁止在Wordpress首页显示图片，那么如何做到不让Wordpress在首页显示图片呢，其实很简单，在加载Wordpress的“$content”之前使用php的正则表达式“preg_replace();”将图片的html代码过滤掉就可以了（先搜索图片的html代码，然后再将其替换为空就可以了）： 代码及说明： 代码： &#60;?php add_filter('the_content','wpi_image_content_filter',11); function wpi_image_content_filter($content){ if (is_home() &#124;&#124; is_front_page()){ $content = preg_replace("/&#60;img[^&#62;]+\&#62;/i", "", $content); } return $content; } ?&#62;? 说明： 首先判断是否首页，如果是则将“$content;”中的img代码过滤掉，最后再返回“$content;”，从而起到在首页过滤图片的效果。 使用方法： 将上面的代码放在主题文件的“functions.php”文件中即可。 注意：这里说的不在首页显示图片指的是日志模块，在一般情况下将是不包括页面底部（footer.php）、侧栏（sidebar.php）和头部（header.php）]]></description>
		<wfw:commentRss>http://digegg.com/article/587.htm/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>几张既有创意又带有色情色彩的广告图片</title>
		<link>http://digegg.com/article/199.htm</link>
		<comments>http://digegg.com/article/199.htm#comments</comments>
		<pubDate>Tue, 02 Dec 2008 17:41:58 +0000</pubDate>
		<dc:creator>Yusn</dc:creator>
				<category><![CDATA[精品资源]]></category>
		<category><![CDATA[创意]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[广告]]></category>

		<guid isPermaLink="false">http://www.digegg.com/article/199.htm</guid>
		<description><![CDATA[现在只要随便打开一个门户网站,常常看到充满挑逗的文字和图片，特别是预览板块更是不堪入目：一些编辑推荐的娱乐专题字眼挑逗，打“擦边球”来吸引人，什么：“女星经典裸露之美”、“艺人限制级妩媚写真”、“女星湿身诱惑”等组图起码还和娱乐沾边，而“若隐若现美艳女人”、“超劲爆内衣短裙”等则完全与娱乐圈风马牛不相及，而这些性感美女全然已喧宾夺主，占据了娱乐板块的半壁江山。“虽然内容并 没有露点等淫秽场面，但具有很强的暗示性，特别不利于引导青少年成长。”&#8230; 现在分享几张在网上收集到的一些广告图片，不怕你笑话就连水果广告也来揍热闹：]]></description>
		<wfw:commentRss>http://digegg.com/article/199.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

