<?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>FVF.me&#039;Ye &#187; header</title>
	<atom:link href="http://fvf.me/tag/header/feed" rel="self" type="application/rss+xml" />
	<link>http://fvf.me</link>
	<description>我是孤独的根号5</description>
	<lastBuildDate>Mon, 19 Sep 2011 12:10:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>修改标题之Inove 主题</title>
		<link>http://fvf.me/wordpress/theme/inove-modify-the-title-of-the-theme-of-change.html</link>
		<comments>http://fvf.me/wordpress/theme/inove-modify-the-title-of-the-theme-of-change.html#comments</comments>
		<pubDate>Wed, 05 Aug 2009 07:30:28 +0000</pubDate>
		<dc:creator>死兔子</dc:creator>
				<category><![CDATA[主题]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[inove]]></category>
		<category><![CDATA[标题]]></category>

		<guid isPermaLink="false">http://fvf.me/wordpress/inove-%e4%b8%bb%e9%a2%98%e4%bf%ae%e6%94%b9%e4%b9%8b%e4%bf%ae%e6%94%b9%e6%a0%87%e9%a2%98.html</guid>
		<description><![CDATA[改标题 这个主题的一大败笔，我认为是标题的设置！Wordpress的默认Title设计针对搜索引擎不够友好，所以有必要要改一改 打开templates/start.php页 ,其他主题找到header.php页. 找到&#60;title&#62;&#60;/title&#62;标签中的语句改为 &#60;title&#62; &#60;?php wp_title(&#39;&#39;); ?&#62; &#60;?php if ( is_single() ) { ?&#62; &#124; &#60;?php } ?&#62; &#60;?php bloginfo(&#39;name&#39;); ?&#62; &#60;/title&#62; 即除首页和搜索页显示博客名外，其他页面Title都显示为“内容标题 &#124; 博客名称”！ 当然了你要想更具体的的显示标题可以修改标题为以下语句 &#60;title&#62; &#60;?php if (is_home()) { ?&#62;&#60;?php bloginfo(&#39;name&#39;); ?&#62;&#124;&#60;?php bloginfo(&#39;description&#39;); ?&#62; &#60;?php } else if (is_category()) { ?&#62;&#60;?php wp_title(&#39;&#39;); ?&#62;&#124;&#60;?php bloginfo(&#39;name&#39;); ?&#62; &#60;?php } else if (is_single() &#124;&#124; [...]]]></description>
			<content:encoded><![CDATA[<p>改标题    <br />这个主题的一大败笔，我认为是标题的设置！Wordpress的默认Title设计针对搜索引擎不够友好，所以有必要要改一改     <br />打开templates/start.php页 ,其他主题找到header.php页.    <br />找到&lt;title&gt;&lt;/title&gt;标签中的语句改为</p>
<div class="source" style="font-family: 'Courier New', 'Lucida Console', Verdana; color: rgb(192, 192, 192); background-color: rgb(0, 0, 0); "> <span style="color: rgb(255, 255, 0); font-weight: bold; ">&lt;title&gt;</span> <br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">wp_title</span>(<span style="color: rgb(187, 187, 0); ">&#39;&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span> <br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> ( <span style="color: rgb(192, 192, 192); ">is_single</span>() ) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span> | <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span> <br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">bloginfo</span>(<span style="color: rgb(187, 187, 0); ">&#39;name&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 0); font-weight: bold; ">&lt;/title&gt;</span></div>
<p>即除首页和搜索页显示博客名外，其他页面Title都显示为“内容标题 <strong>|</strong> 博客名称”！</p>
<p>当然了你要想更具体的的显示标题可以修改标题为以下语句</p>
<div class="source" style="font-family: 'Courier New', 'Lucida Console', Verdana; color: rgb(192, 192, 192); background-color: rgb(0, 0, 0); "> <span style="color: rgb(255, 255, 0); font-weight: bold; ">&lt;title&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_home</span>()) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;&lt;?php</span> <span style="color: rgb(192, 192, 192); ">bloginfo</span>(<span style="color: rgb(187, 187, 0); ">&#39;name&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span>|<span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">bloginfo</span>(<span style="color: rgb(187, 187, 0); ">&#39;description&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">else</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_category</span>()) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;&lt;?php</span> <span style="color: rgb(192, 192, 192); ">wp_title</span>(<span style="color: rgb(187, 187, 0); ">&#39;&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span>|<span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">bloginfo</span>(<span style="color: rgb(187, 187, 0); ">&#39;name&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">else</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_single</span>() || <span style="color: rgb(192, 192, 192); ">is_page</span>()) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;&lt;?php</span> <span style="color: rgb(192, 192, 192); ">wp_title</span>(<span style="color: rgb(187, 187, 0); ">&#39;&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span>|<span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">bloginfo</span>(<span style="color: rgb(187, 187, 0); ">&#39;name&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">else</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_tag</span>()) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span><span style="color: rgb(192, 192, 192); ">TAG “</span><span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">single_cat_title</span>(<span style="color: rgb(187, 187, 0); ">&#39; &#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><span style="color: rgb(192, 192, 192); ">” |</span><span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">bloginfo</span>(<span style="color: rgb(187, 187, 0); ">&#39;name&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">else</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_search</span>() ) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span><span style="color: rgb(192, 192, 192); ">搜索 “</span><span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">the_search_query</span>(); <span style="color: rgb(255, 255, 255); ">?&gt;</span><span style="color: rgb(192, 192, 192); ">” |</span><span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">bloginfo</span>(<span style="color: rgb(187, 187, 0); ">&#39;name&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">else</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_404</span>() ) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span><span style="color: rgb(192, 192, 192); ">404页面 |</span><span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">bloginfo</span>(<span style="color: rgb(187, 187, 0); ">&#39;name&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">else</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_archive</span>()) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;&lt;?php</span>&nbsp; <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_day</span>()) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span><span style="color: rgb(192, 192, 192); ">存档</span><span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">the_time</span>(<span style="color: rgb(187, 187, 0); ">&#39;F jS Y&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">else</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_month</span>()) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span><span style="color: rgb(192, 192, 192); ">存档</span><span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">the_time</span>(<span style="color: rgb(187, 187, 0); ">&#39;F Y&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">else</span> <span style="color: rgb(255, 255, 0); font-weight: bold; ">if</span> (<span style="color: rgb(192, 192, 192); ">is_year</span>()) <span style="color: rgb(192, 192, 192); ">{</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span><span style="color: rgb(192, 192, 192); ">存档</span><span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">the_time</span>(<span style="color: rgb(187, 187, 0); ">&#39;Y&#39;</span>); <span style="color: rgb(255, 255, 255); ">?&gt;&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span>|<span style="color: rgb(192, 192, 192); ">&lt;</span><span style="color: rgb(192, 192, 192); "> ?php bloginfo(&#39;name&#39;); ?&gt;</span><br /> <span style="color: rgb(255, 255, 255); ">&lt;?php</span> <span style="color: rgb(192, 192, 192); ">}</span> <span style="color: rgb(255, 255, 255); ">?&gt;</span><br /> <span style="color: rgb(255, 255, 0); font-weight: bold; ">&lt;/title&gt;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://fvf.me/wordpress/theme/inove-modify-the-title-of-the-theme-of-change.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

