<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>评论：精通Wordpress主题-3: 为不同的分类日志设置不同的样式</title>
	<atom:link href="http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/feed/" rel="self" type="application/rss+xml" />
	<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/</link>
	<description>PARANDROID＝PARANOID+ANDROID</description>
	<lastBuildDate>Thu, 18 Mar 2010 01:04:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：早晨</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-20152</link>
		<dc:creator>早晨</dc:creator>
		<pubDate>Sat, 13 Mar 2010 17:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-20152</guid>
		<description>还一种方法...不知道是否可行。。就是不要其实的步骤。。。直接在header做一个判断...让某一个分类用另一个css....

当然这样可能只能单纯的从样式上更改....功能上可能不能改变啦。

 ;-) “因为我并不想都改变这两个模板文件, 而仅仅是添加额外的样式表到第二个也就是single2.php文件, 于是我创建两个header模板文件”;-) 这样的做法貌假也只能实现样式上的改变。而不是功能！</description>
		<content:encoded><![CDATA[<p>还一种方法&#8230;不知道是否可行。。就是不要其实的步骤。。。直接在header做一个判断&#8230;让某一个分类用另一个css&#8230;.</p>
<p>当然这样可能只能单纯的从样式上更改&#8230;.功能上可能不能改变啦。</p>
<p> <img src='http://paranimage.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  “因为我并不想都改变这两个模板文件, 而仅仅是添加额外的样式表到第二个也就是single2.php文件, 于是我创建两个header模板文件”;-) 这样的做法貌假也只能实现样式上的改变。而不是功能！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：早晨</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-20151</link>
		<dc:creator>早晨</dc:creator>
		<pubDate>Sat, 13 Mar 2010 17:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-20151</guid>
		<description>很不错的文章，但是我觉得产生两个header不算合理。能不能在header中用 if  else 的方式来实现加载不同的css文件.....

请博主指教！ ;-)</description>
		<content:encoded><![CDATA[<p>很不错的文章，但是我觉得产生两个header不算合理。能不能在header中用 if  else 的方式来实现加载不同的css文件&#8230;..</p>
<p>请博主指教！ <img src='http://paranimage.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：sameasy</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-20070</link>
		<dc:creator>sameasy</dc:creator>
		<pubDate>Wed, 10 Mar 2010 16:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-20070</guid>
		<description>你好，请问  更多的条件语句来为不同的类别指定不同的样式和内容  这句话下面写的php代码是不是错了，我放上去，显示代码错误... 郁闷中了，elseif前面 的}  需要加不加呢？</description>
		<content:encoded><![CDATA[<p>你好，请问  更多的条件语句来为不同的类别指定不同的样式和内容  这句话下面写的php代码是不是错了，我放上去，显示代码错误&#8230; 郁闷中了，elseif前面 的}  需要加不加呢？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：天下免费</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-19517</link>
		<dc:creator>天下免费</dc:creator>
		<pubDate>Thu, 04 Feb 2010 09:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-19517</guid>
		<description>如何针对一个日志进行特殊样式化，比如我要把www.ttxx.in/10.html修改成红色的底</description>
		<content:encoded><![CDATA[<p>如何针对一个日志进行特殊样式化，比如我要把www.ttxx.in/10.html修改成红色的底</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：龙吟疯</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-19316</link>
		<dc:creator>龙吟疯</dc:creator>
		<pubDate>Fri, 22 Jan 2010 07:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-19316</guid>
		<description>谢谢指点。</description>
		<content:encoded><![CDATA[<p>谢谢指点。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：精通Wordpress主题-4: 如何安全的调用Wordpress插件模板代码 &#124; 帕兰映像</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-15646</link>
		<dc:creator>精通Wordpress主题-4: 如何安全的调用Wordpress插件模板代码 &#124; 帕兰映像</dc:creator>
		<pubDate>Mon, 17 Aug 2009 21:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-15646</guid>
		<description>[...] 精通Wordpress主题-3: 为不同的分类日志设置不同的样式 [...]</description>
		<content:encoded><![CDATA[<p>[...] 精通Wordpress主题-3: 为不同的分类日志设置不同的样式 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：菜鸟捣腾WP手记 &#124; Broken Bridges</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-13914</link>
		<dc:creator>菜鸟捣腾WP手记 &#124; Broken Bridges</dc:creator>
		<pubDate>Fri, 10 Apr 2009 13:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-13914</guid>
		<description>[...] 我所要折腾的目的是实现不同内页不同CSS，这个google一下吗，还是有不少（好像也不多）。帕兰映象曾经有篇译文，不过方法确实足够复杂== 所以我找到的解决办法就是在head判断。比如 &lt;?php if ( is_category(&#8217;1&#8242;) ) { &lt;link rel=&#8221;stylesheet&#8221; href=&#8221;&lt;?php bloginfo(&#8217;stylesheet_directory&#8217;); ?&gt;/cat-1.css&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;; &lt;?php } else { ?&gt; &lt;link rel=&#8221;stylesheet&#8221; href=&#8221;&lt;?php bloginfo(&#8217;stylesheet_url&#8217;); ?&gt;&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt; &lt;?php } ?&gt; [...]</description>
		<content:encoded><![CDATA[<p>[...] 我所要折腾的目的是实现不同内页不同CSS，这个google一下吗，还是有不少（好像也不多）。帕兰映象曾经有篇译文，不过方法确实足够复杂== 所以我找到的解决办法就是在head判断。比如 &lt;?php if ( is_category(&#8217;1&#8242;) ) { &lt;link rel=&#8221;stylesheet&#8221; href=&#8221;&lt;?php bloginfo(&#8217;stylesheet_directory&#8217;); ?&gt;/cat-1.css&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;; &lt;?php } else { ?&gt; &lt;link rel=&#8221;stylesheet&#8221; href=&#8221;&lt;?php bloginfo(&#8217;stylesheet_url&#8217;); ?&gt;&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt; &lt;?php } ?&gt; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：精通Wordpress主题-4: 如何安全的调用Wordpress插件模板代码 &#124; Jack 's blog</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-13892</link>
		<dc:creator>精通Wordpress主题-4: 如何安全的调用Wordpress插件模板代码 &#124; Jack 's blog</dc:creator>
		<pubDate>Thu, 09 Apr 2009 05:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-13892</guid>
		<description>[...] 精通Wordpress主题-3: 为不同的分类日志设置不同的样式 [...]</description>
		<content:encoded><![CDATA[<p>[...] 精通Wordpress主题-3: 为不同的分类日志设置不同的样式 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Rui</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-13646</link>
		<dc:creator>Rui</dc:creator>
		<pubDate>Sat, 28 Mar 2009 23:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-13646</guid>
		<description>完全有可能啊`</description>
		<content:encoded><![CDATA[<p>完全有可能啊`</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：10个 WordPress 主题设计高级功能进阶实现 - 菠菜博</title>
		<link>http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-13537</link>
		<dc:creator>10个 WordPress 主题设计高级功能进阶实现 - 菠菜博</dc:creator>
		<pubDate>Wed, 18 Mar 2009 07:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://paranimage.com/mastering-wordpress-theme-3-the-different-categories-with-different-styles/#comment-13537</guid>
		<description>[...] 教程：为不同的分类日志设置不同的样式 [...]</description>
		<content:encoded><![CDATA[<p>[...] 教程：为不同的分类日志设置不同的样式 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
