<?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; WordPress</title>
	<atom:link href="http://www.qlzy.net/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.qlzy.net</link>
	<description>www.qlzy.net</description>
	<lastBuildDate>Wed, 17 Aug 2011 03:19:40 +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>去掉head中的WordPress版本信息</title>
		<link>http://www.qlzy.net/wordpress/remove-head-version/</link>
		<comments>http://www.qlzy.net/wordpress/remove-head-version/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 09:28:08 +0000</pubDate>
		<dc:creator>乾龙在渊</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.qlzy.net/?p=32</guid>
		<description><![CDATA[WordPress默认会在head中显示一些基本信息,比如WordPress的版本.这个可能会给一些不怀好意的人提供信息,去掉这个有利于提高WordPress的安全性，降低被黑的概率.方法如下 一般正规的WordPress主题的he... ]]></description>
			<content:encoded><![CDATA[<p>WordPress默认会在head中显示一些基本信息,比如WordPress的版本.这个可能会给一些不怀好意的人提供信息,去掉这个有利于提高WordPress的安全性，降低被黑的概率.方法如下</p>
<p>一般正规的WordPress主题的header.php文件里面有这样的代码：<?php wp_head(); ?>将之它删除即可。</p>
<p>不正规的主题一般不会引用head信息</p>
<div  class="related_post_title">相关日志</div><ul class="related_post"><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/add-code-article/" title="如何在WordPress文章中加代码">如何在WordPress文章中加代码</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/title-optimum/" title="修改模板优化wordpress的标题">修改模板优化wordpress的标题</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/tag-only-in-article/" title="修改模板让tag只在文章页显示">修改模板让tag只在文章页显示</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.qlzy.net/wordpress/remove-head-version/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>如何在WordPress文章中加代码</title>
		<link>http://www.qlzy.net/wordpress/add-code-article/</link>
		<comments>http://www.qlzy.net/wordpress/add-code-article/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 14:42:53 +0000</pubDate>
		<dc:creator>乾龙在渊</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[代码]]></category>

		<guid isPermaLink="false">http://www.qlzy.net/?p=28</guid>
		<description><![CDATA[发现发日志的时候文章内的代码总是会转化格式,特别是引号老是转化为全角的,搜了一下找到一个方法: 先在可视化编辑器里把代码填上，然后切换到html编辑器用&#60;code&#62;或&#60;pre&#62;把代码围... ]]></description>
			<content:encoded><![CDATA[<p>发现发日志的时候文章内的代码总是会转化格式,特别是引号老是转化为全角的,搜了一下找到一个方法:</p>
<p>先在可视化编辑器里把代码填上，然后切换到html编辑器用&lt;code&gt;或&lt;pre&gt;把代码围住.</p>
<div  class="related_post_title">相关日志</div><ul class="related_post"><li>2009/09/20 -- <a href="http://www.qlzy.net/wordpress/remove-head-version/" title="去掉head中的WordPress版本信息">去掉head中的WordPress版本信息</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/title-optimum/" title="修改模板优化wordpress的标题">修改模板优化wordpress的标题</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/tag-only-in-article/" title="修改模板让tag只在文章页显示">修改模板让tag只在文章页显示</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.qlzy.net/wordpress/add-code-article/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>修改模板优化wordpress的标题</title>
		<link>http://www.qlzy.net/wordpress/title-optimum/</link>
		<comments>http://www.qlzy.net/wordpress/title-optimum/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 14:33:53 +0000</pubDate>
		<dc:creator>乾龙在渊</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.qlzy.net/?p=26</guid>
		<description><![CDATA[将wp的title格式修改为:文章名-网站名 找到当前wordpress主题下的header.php文件.将其&#60;title&#62;&#8230;到&#8230;&#60;/title&#62;的代码换成下面的: &#60;title&#62;&#60;?php if ( function_exists('wp_tag_cloud') ) : if (singl... ]]></description>
			<content:encoded><![CDATA[<p>将wp的title格式修改为:文章名-网站名</p>
<p>找到当前wordpress主题下的header.php文件.将其&lt;title&gt;&#8230;到&#8230;&lt;/title&gt;的代码换成下面的:</p>
<p><code>&lt;title&gt;&lt;?php if ( function_exists('wp_tag_cloud') ) : if (single_tag_title(' ', false)) { echo ' ' ; } endif; ?&gt;&lt;?php wp_title(' '); ?&gt;&lt;?php if (wp_title(' ', false)) { echo ' - '; } ?&gt;&lt;?php bloginfo('name'); ?&gt; &lt;/title&gt;</code></p>
<p><strong>修改后效果为:</strong></p>
<p><span style="color: #4169e1;">博客主页显示 博客名称<br />
博客文章页 文章标题-博客名<br />
tag页显示 tag-博客名<br />
分类页显示 分类名称-博客名</span></p>
<div  class="related_post_title">相关日志</div><ul class="related_post"><li>2009/09/20 -- <a href="http://www.qlzy.net/wordpress/remove-head-version/" title="去掉head中的WordPress版本信息">去掉head中的WordPress版本信息</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/add-code-article/" title="如何在WordPress文章中加代码">如何在WordPress文章中加代码</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/tag-only-in-article/" title="修改模板让tag只在文章页显示">修改模板让tag只在文章页显示</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.qlzy.net/wordpress/title-optimum/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>修改模板让tag只在文章页显示</title>
		<link>http://www.qlzy.net/wordpress/tag-only-in-article/</link>
		<comments>http://www.qlzy.net/wordpress/tag-only-in-article/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:36:45 +0000</pubDate>
		<dc:creator>乾龙在渊</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://www.qlzy.net/?p=20</guid>
		<description><![CDATA[想让tags只显示在文章页面而不显示在等其他页面，在模板文件sidebar.php合适位置这样添加如下代码： &#60;?php /* If this is the frontpage */ if ( is_single() ) { ?&#62; &#60;h3&#62;Tags&#60;/h3&#62; &#60;?php wp_tag_cloud... ]]></description>
			<content:encoded><![CDATA[<p>想让tags只显示在文章页面而不显示在等其他页面，在模板文件sidebar.php合适位置这样添加如下代码：</p>
<p>&lt;?php /* If this is the frontpage */ if ( is_single() ) { ?&gt;<br />
&lt;h3&gt;Tags&lt;/h3&gt;<br />
&lt;?php wp_tag_cloud(’smallest=10&amp;largest=15′); ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php } ?&gt;</p>
<div  class="related_post_title">相关日志</div><ul class="related_post"><li>2009/09/20 -- <a href="http://www.qlzy.net/wordpress/remove-head-version/" title="去掉head中的WordPress版本信息">去掉head中的WordPress版本信息</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/add-code-article/" title="如何在WordPress文章中加代码">如何在WordPress文章中加代码</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/title-optimum/" title="修改模板优化wordpress的标题">修改模板优化wordpress的标题</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.qlzy.net/wordpress/tag-only-in-article/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>修改模板让友情链接只在首页显示</title>
		<link>http://www.qlzy.net/wordpress/link-only-index-show/</link>
		<comments>http://www.qlzy.net/wordpress/link-only-index-show/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:33:27 +0000</pubDate>
		<dc:creator>乾龙在渊</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.qlzy.net/?p=19</guid>
		<description><![CDATA[修改模板的sidebar.php文件,在合适的位置添加如下代码 一:只显示在首页，而不显示再文章页面： &#60;?php /* If this is the frontpage */ if ( is_home() ) { ?&#62; &#60;h3&#62;Links&#60;/h3&#62; &#60;ul&#62; &#60;?php get_lin... ]]></description>
			<content:encoded><![CDATA[<p>修改模板的sidebar.php文件,在合适的位置添加如下代码</p>
<p>一:只显示在首页，而不显示再文章页面：<br />
&lt;?php /* If this is the frontpage */ if ( is_home() ) { ?&gt;<br />
&lt;h3&gt;Links&lt;/h3&gt;<br />
&lt;ul&gt;<br />
&lt;?php get_links(’-1′, ‘&lt;li&gt;’, ‘&lt;/li&gt;’, ‘&lt;br /&gt;’, FALSE, ‘id’, FALSE, FALSE, -1, FALSE); ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php } ?&gt;</p>
<p>二:只显示在首页和独立页面：<br />
&lt;?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?&gt;<br />
&lt;h3&gt;Links&lt;/h3&gt;<br />
&lt;ul&gt;<br />
&lt;?php get_links(’-1′, ‘&lt;li&gt;’, ‘&lt;/li&gt;’, ‘&lt;br /&gt;’, FALSE, ‘id’, FALSE, FALSE, -1, FALSE); ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php } ?&gt;</p>
<div  class="related_post_title">相关日志</div><ul class="related_post"><li>2009/09/20 -- <a href="http://www.qlzy.net/wordpress/remove-head-version/" title="去掉head中的WordPress版本信息">去掉head中的WordPress版本信息</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/add-code-article/" title="如何在WordPress文章中加代码">如何在WordPress文章中加代码</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/title-optimum/" title="修改模板优化wordpress的标题">修改模板优化wordpress的标题</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.qlzy.net/wordpress/link-only-index-show/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>去除wordpress固定链接中的category</title>
		<link>http://www.qlzy.net/wordpress/remove-url-category/</link>
		<comments>http://www.qlzy.net/wordpress/remove-url-category/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 15:28:27 +0000</pubDate>
		<dc:creator>乾龙在渊</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[category]]></category>

		<guid isPermaLink="false">http://www.qlzy.net/?p=8</guid>
		<description><![CDATA[去除wordpress固定链接中category WordPress的分类页面url强制出现在category下，在网上搜了很久也没发现怎么去掉.只有一个改源代码的,试了下没啥效果还报错.今天发现有一个插件，只要启用一下就OK... ]]></description>
			<content:encoded><![CDATA[<p>去除wordpress固定链接中category</p>
<p>WordPress的分类页面url强制出现在category下，在网上搜了很久也没发现怎么去掉.只有一个改源代码的,试了下没啥效果还报错.今天发现有一个插件，只要启用一下就OK，马上就能去掉分类网址中的Category。<br />
插件下载地址：<a href="http://wordpress.org/extend/plugins/wp-no-category-base/">WP no category base</a></p>
<div  class="related_post_title">相关日志</div><ul class="related_post"><li>2009/09/20 -- <a href="http://www.qlzy.net/wordpress/remove-head-version/" title="去掉head中的WordPress版本信息">去掉head中的WordPress版本信息</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/add-code-article/" title="如何在WordPress文章中加代码">如何在WordPress文章中加代码</a></li><li>2009/09/18 -- <a href="http://www.qlzy.net/wordpress/title-optimum/" title="修改模板优化wordpress的标题">修改模板优化wordpress的标题</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.qlzy.net/wordpress/remove-url-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
