<?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>Graygift@ye &#187; PageNavi</title>
	<atom:link href="http://www.graygift.com/tag/pagenavi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.graygift.com</link>
	<description>我是孤独的根号5      </description>
	<lastBuildDate>Sun, 08 Nov 2009 02:13:02 +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>WP-PageNavi</title>
		<link>http://www.graygift.com/wordpress/wp-pagenavi/</link>
		<comments>http://www.graygift.com/wordpress/wp-pagenavi/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 04:58:21 +0000</pubDate>
		<dc:creator>Graygift</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[PageNavi]]></category>

		<guid isPermaLink="false">http://www.graygift.com/?p=118</guid>
		<description><![CDATA[分页功... ]]></description>
			<content:encoded><![CDATA[<p>下载地址：<a href="http://wordpress.org/extend/plugins/wp-pagenavi/">http://wordpress.org/extend/plugins/wp-pagenavi/</a></p>
<p>是网站支持分页功能</p>
<p>插件配置</p>
<p>　　打开/wp-content/themes/你的风格目录/index.php，找到：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.graygift.com/wordpress/wp-content/plugins/wp-codebox/wp-codebox.php?p=118&amp;download=download.txt">download.txt</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1181"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p118code1"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;postnav&quot;&gt;
  &lt;div class=&quot;prev&quot;&gt;
    &lt; ?php next_posts_link(__('? Previous Entries')) ?&gt;
  &lt;/div&gt;
  &lt;div class=&quot;next&quot;&gt;
    &lt; ?php previous_posts_link(__('Next Entries ?')) ?&gt;
  &lt;/div&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>　　替换为：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.graygift.com/wordpress/wp-content/plugins/wp-codebox/wp-codebox.php?p=118&amp;download=download.txt">download.txt</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1182"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p118code2"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;postnav&quot;&gt;
&lt; ?php if(function_exists('wp_pagenavi')){ wp_pagenavi(); } else { ?&gt;
&lt;div class=&quot;prev&quot;&gt;
  &lt; ?php next_posts_link(__('? Previous Entries')) ?&gt;
&lt;/div&gt;
&lt;div class=&quot;next&quot;&gt;
  &lt; ?php previous_posts_link(__('Next Entries ?')) ?&gt;
&lt;/div&gt;
&lt; ?php } ?&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>到 “WP-Admin -&gt; Options -&gt; PageNavi” 配置 WP-PageNavi 插件的参数</p>
<p>3.1.翻页文本内容</p>
<p>Text For Number Of Pages 总页数</p>
<p>Text For Current Page 当前页</p>
<p>Text For Page 页数</p>
<p>Text For First Post 首页</p>
<p>Text For Last Post 尾页</p>
<p>Text For Next Post 下一页</p>
<p>Text For Previous Post 上一页</p>
<p>Text For Next … 下</p>
<p>Text For Previous … 上</p>
<p>3.2.翻页显示选项</p>
<p>Page Navigation Style 普通（横排列表）和下拉（Drop Down List）</p>
<p>Number Of Many Pages To Show 直接显示页的数量</p>
<p>Always Show Page Navigation 是否总是显示翻页功能　　</p>
<p>如果需要修改WP-PageNavi CSS可以修改：/wp-content/plugins/pagenavi/pagenavi-css.css</p>
<ul class="related_post"><li><a href="http://www.graygift.com/wordpress/wordpress-theme-navigation-bar-of-the-drop-down-list/" title="wordpress 主题之下拉列表导航栏">wordpress 主题之下拉列表导航栏</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-themes-to-change-the-hyperlink-style/" title="wordpress 主题之更改超级链接样式">wordpress 主题之更改超级链接样式</a></li><li><a href="http://www.graygift.com/wordpress/comments-add-a-few-floors-wordpress-message-number/" title="WordPress 评论添加楼层数(留言编号)">WordPress 评论添加楼层数(留言编号)</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-separately-trackbacks-pingbacks-list-and-comments/" title="WordPress中分开Trackbacks/Pingbacks 和评论列表">WordPress中分开Trackbacks/Pingbacks 和评论列表</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-blog-to-show-the-current-time/" title="给wordpress博客显示当前时间">给wordpress博客显示当前时间</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-theme-related-articles-code/" title="wordpress主题&ndash;相关文章代码">wordpress主题&ndash;相关文章代码</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-theme-random-article-code/" title="wordpress主题&ndash;随机文章代码">wordpress主题&ndash;随机文章代码</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-theme-the-latest-article-code/" title="wordpress主题&ndash;最新文章代码">wordpress主题&ndash;最新文章代码</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.graygift.com/wordpress/wp-pagenavi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

