<?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>MarsLau&#039;s Blog &#187; WP-EasyArchives</title>
	<atom:link href="http://marslau.com/archives/tag/wp-easyarchives/feed" rel="self" type="application/rss+xml" />
	<link>http://marslau.com</link>
	<description>Mars博客，记录路上的点滴（个人日记 设计 css wordpress seo）</description>
	<lastBuildDate>Sat, 31 Dec 2011 15:52:16 +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>wordpress插件推荐：WP-EasyArchives 以及月存档链接问题补充</title>
		<link>http://marslau.com/archives/361.html</link>
		<comments>http://marslau.com/archives/361.html#comments</comments>
		<pubDate>Thu, 19 Mar 2009 06:36:57 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WP-EasyArchives]]></category>
		<category><![CDATA[存档]]></category>
		<category><![CDATA[推荐]]></category>
		<category><![CDATA[插件]]></category>
		<category><![CDATA[链接]]></category>

		<guid isPermaLink="false">http://marslau.com/archives/361.html</guid>
		<description><![CDATA[推荐一款wordpress文章归档插件：WP-EasyArchives。 WP-EasyArchives能在定制页面显示对搜索引擎友好的树形结构存档列表。与其它归档插件不同的是他添加了时间和作者的过滤功能。 安装方法: 1. 将压... <table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="内部链接策略" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F125.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">内部链接策略</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress文章目录插件：jQuery Table of Contents" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F682.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106844.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress文章目录插件：jQuery Table of Contents</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="MSN辅助插件推荐：Messenger Plus！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F247.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106956.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">MSN辅助插件推荐：Messenger Plus！</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WP-PostViews Plus 函数说明" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F129.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WP-PostViews Plus 函数说明</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Office插件推荐：Office2007转换为PDF格式加载项" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F342.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Office插件推荐：Office2007转换为PDF格式加载项</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>推荐一款wordpress文章归档插件：WP-EasyArchives。</p>
<p>WP-EasyArchives能在定制页面显示对搜索引擎友好的树形结构存档列表。与其它归档插件不同的是他添加了时间和作者的过滤功能。</p>
<p><img class="sided" src="http://wordpress.org/extend/plugins/wp-easyarchives/screenshot-1.png" alt="WP-EasyArchives" width="240" height="180" /></p>
<p><strong>安装方法:</strong><br />
1. 将压缩包解压到 {WordPress 根目录}/wp-content/plugins/<br />
2. 登录你的 WordPress 后台, 到 Plugins 页面激活插件 WP-EasyArchives<br />
3. 在主题文件的适当位置追加以下代码: <code class="code">&lt;?php wp_easyarchives(); ?&gt;</code></p>
<div>
<div><strong>使用参数:</strong></div>
<table style="BORDER-TOP: #ffffff 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #ffffff 1px solid" border="0" cellspacing="0" cellpadding="0" width="90%">
<thead>
<tr style="background: #4a98af none repeat scroll 0% 0%; color: #ffffff; height: 22px;">
<th style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">名称</th>
<th style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">类型</th>
<th style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">描述</th>
<th style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">默认值</th>
<th style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">支持版本</th>
</tr>
</thead>
<tbody>
<tr style="background: #e5f1f4 none repeat scroll 0% 0%; color: #555555; height: 22px;">
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">limit</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">整数</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">显示每月存档的数量 (只对 Widget 有效)</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">6</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">1.0 或以上</td>
</tr>
<tr style="background: #f8fbfc none repeat scroll 0% 0%; color: #555555; height: 22px;">
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">mode</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">last/all/none</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">显示模式</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">last</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">1.0 或以上</td>
</tr>
<tr style="background: #e5f1f4 none repeat scroll 0% 0%; color: #555555; height: 22px;">
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">page</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">true/false</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">显示页面条目</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">false</td>
<td style="BORDER-RIGHT: #ffffff 1px solid; PADDING-LEFT: 5px; BORDER-BOTTOM: #ffffff 1px solid">1.0 或以上</td>
</tr>
</tbody>
</table>
<p>可以通过上面的参数改变最新评论的显示方式, 例如:<br />
<code>&lt;?php wp_easyarchives('mode=last&amp;page=false'); ?&gt; 即为最新一月的文章展开显示，不显示页面（page）</code></p>
<p><strong style="COLOR: #ff0000">存档链接问题补充:</strong><br />
由于本人的永久链接是：/archives/%post_id%.html ，对应的月存档地址是：/archives/data/%year%/%monthnum%/。而该插件的对应的月存档地址：/%year%/%monthnum%/。<br />
所以需要在插件的core.php里的<br />
<code class="code">$url = get_bloginfo('url') .'/' . $month_item-&gt;year . '/' . zeroise($month_item-&gt;month,2);</code><br />
代码改为：<br />
<code class="code">$url = get_bloginfo('url') .'/'. 'archives' . '/'. 'date' . '/' .$month_item-&gt;year . '/' . zeroise($month_item-&gt;month,2);</code></p>
<p>希望能帮到和我遇见同样问题的朋友。</p></div>
<ul class="related_post"><li>2009-07-19 -- <a href="http://marslau.com/archives/443.html" title="wordpress主题切换预览插件：Theme Switcher Reloaded">wordpress主题切换预览插件：Theme Switcher Reloaded</a> (5)</li><li>2009-03-16 -- <a href="http://marslau.com/archives/342.html" title="Office插件推荐：Office2007转换为PDF格式加载项">Office插件推荐：Office2007转换为PDF格式加载项</a> (5)</li><li>2008-12-14 -- <a href="http://marslau.com/archives/247.html" title="MSN辅助插件推荐：Messenger Plus！">MSN辅助插件推荐：Messenger Plus！</a> (2)</li><li>2008-10-16 -- <a href="http://marslau.com/archives/136.html" title="中文 WordPress 工具箱">中文 WordPress 工具箱</a> (12)</li><li>2011-12-31 -- <a href="http://marslau.com/archives/818.html" title="wordpress自定义栏目（Custom Fields）的应用">wordpress自定义栏目（Custom Fields）的应用</a> (0)</li><li>2009-09-17 -- <a href="http://marslau.com/archives/524.html" title="电影推荐：国庆献礼片《建国大业》">电影推荐：国庆献礼片《建国大业》</a> (19)</li><li>2009-08-28 -- <a href="http://marslau.com/archives/482.html" title="网站可用性和性能监控服务推荐：监控宝">网站可用性和性能监控服务推荐：监控宝</a> (7)</li><li>2009-07-22 -- <a href="http://marslau.com/archives/454.html" title="WordPress主题5styles">WordPress主题5styles</a> (56)</li><li>2009-06-30 -- <a href="http://marslau.com/archives/428.html" title="WordPress安装简明步骤">WordPress安装简明步骤</a> (9)</li><li>2009-06-23 -- <a href="http://marslau.com/archives/415.html" title="校园原创歌曲推荐：Someday In the Future">校园原创歌曲推荐：Someday In the Future</a> (4)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/361.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/wordpress" rel="tag">wordpress</a>, <a href="http://marslau.com/archives/tag/wp-easyarchives" rel="tag">WP-EasyArchives</a>, <a href="http://marslau.com/archives/tag/%e5%ad%98%e6%a1%a3" rel="tag">存档</a>, <a href="http://marslau.com/archives/tag/%e6%8e%a8%e8%8d%90" rel="tag">推荐</a>, <a href="http://marslau.com/archives/tag/%e6%8f%92%e4%bb%b6" rel="tag">插件</a>, <a href="http://marslau.com/archives/tag/%e9%93%be%e6%8e%a5" rel="tag">链接</a><br/>
</small></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="内部链接策略" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F125.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">内部链接策略</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress文章目录插件：jQuery Table of Contents" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F682.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106844.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress文章目录插件：jQuery Table of Contents</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="MSN辅助插件推荐：Messenger Plus！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F247.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106956.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">MSN辅助插件推荐：Messenger Plus！</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WP-PostViews Plus 函数说明" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F129.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WP-PostViews Plus 函数说明</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Office插件推荐：Office2007转换为PDF格式加载项" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F342.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Office插件推荐：Office2007转换为PDF格式加载项</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/361.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

