<?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>WordPress使用教程与分享 &#187; 插件</title> <atom:link href="http://kisswp.com/tag/%e6%8f%92%e4%bb%b6/feed" rel="self" type="application/rss+xml" /><link>http://kisswp.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Wed, 21 Jul 2010 04:02:54 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>WP-PageNavi翻页插件安装和使用方法</title><link>http://kisswp.com/2009/08/24/26.html</link> <comments>http://kisswp.com/2009/08/24/26.html#comments</comments> <pubDate>Mon, 24 Aug 2009 08:59:35 +0000</pubDate> <dc:creator>admin</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[插件]]></category><guid isPermaLink="false">http://kisswp.com/?p=26</guid> <description><![CDATA[安装步骤 首先从WP-PageNavi的网站上下载插件代码：http://wordpress.org/extend/plugins/wp-pagenavi/ 然后解压，将 pagenavi 文件夹上传到/wp-content/plugins中，之后在后台激活WP-PageNavi插件就可以了。 插件配置 有些主题，已经默认支持这个插件，但有些主题，还没支持这个插件，那么你可以自己来修改。打开/wp-content/themes/你的风格目录/index.php，找到： &#60;div&#62; &#60;div&#62;&#60;?php next_posts_link(&#8216;&#38;laquo; Older Entries&#8217;) ?&#62;&#60;/div&#62; &#60;div&#62;&#60;?php previous_posts_link(&#8216;Newer Entries &#38;raquo;&#8217;) ?&#62;&#60;/div&#62; &#60;/div&#62; 替换为 &#60;?php if (function_exists(&#8216;wp_pagenavi&#8217;)) : ?&#62; &#60;div id=&#8221;wp-nav&#8221;&#62; &#60;?php if(function_exists(&#8216;wp_pagenavi&#8217;)) { wp_pagenavi(); } ?&#62;&#60;br /&#62; &#60;/div&#62; &#60;?php else : ?&#62; &#60;div&#62; &#60;div&#62;&#60;?php next_posts_link(&#8216;&#38;laquo; Older Entries&#8217;) ?&#62;&#60;/div&#62; &#60;div&#62;&#60;?php previous_posts_link(&#8216;Newer Entries &#38;raquo;&#8217;) ?&#62;&#60;/div&#62; &#60;/div&#62; &#60;?php endif; ?&#62; 支持WordPress发展，欢迎向我们投稿！ [...]]]></description> <content:encoded><![CDATA[<h3>安装步骤</h3><p>首先从WP-PageNavi的网站上下载插件代码：<a href="http://wordpress.org/extend/plugins/wp-pagenavi/" target="_blank">http://wordpress.org/extend/plugins/wp-pagenavi/</a></p><p>然后解压，将 pagenavi 文件夹上传到/wp-content/plugins中，之后在后台激活WP-PageNavi插件就可以了。<span id="more-26"></span></p><h3>插件配置</h3><p>有些主题，已经默认支持这个插件，但有些主题，还没支持这个插件，那么你可以自己来修改。打开/wp-content/themes/你的风格目录/index.php，找到：</p><p>&lt;div&gt;<br /> &lt;div&gt;&lt;?php next_posts_link(&#8216;&amp;laquo; Older Entries&#8217;) ?&gt;&lt;/div&gt;<br /> &lt;div&gt;&lt;?php previous_posts_link(&#8216;Newer Entries &amp;raquo;&#8217;) ?&gt;&lt;/div&gt;<br /> &lt;/div&gt;</p><p>替换为<br /> &lt;?php if (function_exists(&#8216;wp_pagenavi&#8217;)) : ?&gt;</p><p>&lt;div id=&#8221;wp-nav&#8221;&gt;</p><p>&lt;?php if(function_exists(&#8216;wp_pagenavi&#8217;)) { wp_pagenavi(); } ?&gt;&lt;br /&gt;</p><p>&lt;/div&gt;</p><p>&lt;?php else : ?&gt;</p><p>&lt;div&gt;</p><p>&lt;div&gt;&lt;?php next_posts_link(&#8216;&amp;laquo; Older Entries&#8217;) ?&gt;&lt;/div&gt;</p><p>&lt;div&gt;&lt;?php previous_posts_link(&#8216;Newer Entries &amp;raquo;&#8217;) ?&gt;&lt;/div&gt;</p><p>&lt;/div&gt;</p><p>&lt;?php endif; ?&gt;</p><hr />支持WordPress发展，欢迎向我们<a href="http://kisswp.com/delivery" target="_blank">投稿</a>！ )</small>]]></content:encoded> <wfw:commentRss>http://kisswp.com/2009/08/24/26.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>