<?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>notycn &#187; 建立归档页面</title>
	<atom:link href="http://www.notycn.com/tag/%e5%bb%ba%e7%ab%8b%e5%bd%92%e6%a1%a3%e9%a1%b5%e9%9d%a2/feed" rel="self" type="application/rss+xml" />
	<link>http://www.notycn.com</link>
	<description>I am here!</description>
	<lastBuildDate>Tue, 03 Jan 2012 14:46:36 +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>SRG Clean Archives归档页的CSS美化说明补充</title>
		<link>http://www.notycn.com/web/74.html</link>
		<comments>http://www.notycn.com/web/74.html#comments</comments>
		<pubDate>Fri, 22 Feb 2008 20:32:19 +0000</pubDate>
		<dc:creator>notycn</dc:creator>
				<category><![CDATA[网事随风]]></category>
		<category><![CDATA[Archives]]></category>
		<category><![CDATA[SRG Clean Archives]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[建立归档页面]]></category>

		<guid isPermaLink="false">http://www.notycn.cn/web/74.html</guid>
		<description><![CDATA[上次介绍了这个插件的简单说明，当时举了一个例子，手动建立Archives归档页，使之整个页面显得更加美化，这是因为如果使用官方的方法，在“管理－页面”里插入代码，那么我们使用地方插件如 MightyAdsense  会破坏这个Archives归档页面的美感，所以最好能手动建立一个。 但是我举的那个例子只是结合我自己博客的皮肤来使用的，所以后来有一些朋友问我怎么归档页的效果不好，CSS又怎么调整，那是因为你拷贝的代码中的&#60;div&#62;，是我的 ：） 所以今天，就再介绍一个简单的方法，教大家怎样手动建立一个适合自己博客皮肤的Archives归档。 完整的Archives归档页面一般包括4个部分：header、sidebar、footer、以及Archives，这时我们可以借用404.php给自己建立一个页面，将里面的错误信息替换成Archives。因为404页面里的代码比较少，适合一般新手修改，不至于看到密密麻麻的代码头疼无从下手，前提是你的皮肤404页面显示不错位，当然，也要存在。 首先还是下载SRG Clean Archives，下载，上传，后台开启插件。 用UTF-8编码手动建立一个Archives.php，复制404.php内容进去。 在Archives.php中，寻找显示404错误文字的内容，一般为“Error 404 &#8211; Not Found”，然后将&#60;?php require(&#8216;./wp-blog-header.php&#8217;);srg_clean_archives(); ?&#62;内容替换这一行 注：拷贝的时候，请注意标点符号的全半角问题，如是全角，请更换为英文的半角，至于替换到什么程度，大伙可以自己多试试看， 在Archives.php里的顶部写入一下内容： &#60;?php /* Template Name: 我的Archives */ ?&#62; 保存Archives.php，上传至自己现在所使用的themes里 后台－管理－页面－创建新页面，页面名为“Archives”或者“归档”都可以，然后在右侧的模块里选择“我的Archives”，保存后回到前台刷新就可使用。 我随机修改了四个皮肤，整个页面都很可以。其实建立适合自己的页面还是很简单的，这里用到的就是替换法。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1" color="#000000" style="display: block !important; padding: 20px 0 5px !important;">相关文章</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F55.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">使用SRG Clean Archives来建立一个简洁的归档页</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F166.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">今天生日，发布一款山寨版主题：GWthem for wordpress</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F336.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">发布wordpress主题：</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F275.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">我的wordpress改造修改过程－记录点滴之三</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F169.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">GWthem主题：提供下载</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  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><a href="http://www.notycn.com/web/55.html"><span style="color: #ff0000;"><span style="text-decoration: line-through;">上次介绍了</span></span></a>这个插件的简单说明，当时举了一个例子，手动建立Archives归档页，使之整个页面显得更加美化，这是因为如果使用官方的方法，在“管理－页面”里插入代码，那么我们使用地方插件如 MightyAdsense  会破坏这个Archives归档页面的美感，所以最好能手动建立一个。</p>
<p>但是我举的那个例子只是结合我自己博客的皮肤来使用的，所以后来有一些朋友问我怎么归档页的效果不好，CSS又怎么调整，那是因为你拷贝的代码中的&lt;div&gt;，是我的 ：）</p>
<p>所以今天，就再介绍一个简单的方法，教大家怎样手动建立一个适合自己博客皮肤的Archives归档。</p>
<p>完整的Archives归档页面一般包括4个部分：header、sidebar、footer、以及Archives，这时我们可以借用404.php给自己建立一个页面，将里面的错误信息替换成Archives。因为404页面里的代码比较少，适合一般新手修改，不至于看到密密麻麻的代码头疼无从下手，前提是你的皮肤404页面显示不错位，当然，也要存在。</p>
<ol>
<li>首先还是下载SRG Clean Archives，下载，上传，后台开启插件。</li>
<li>用UTF-8编码手动建立一个Archives.php，复制404.php内容进去。</li>
<li>在Archives.php中，寻找显示404错误文字的内容，一般为“<span style="color: #ff0000;">Error 404 &#8211; Not Found</span>”，然后将<span style="color: #ff0000;">&lt;?php require(&#8216;./wp-blog-header.php&#8217;);srg_clean_archives(); ?&gt;</span>内容替换这一行</li>
<li>注：拷贝的时候，请注意标点符号的全半角问题，如是全角，请更换为英文的半角，至于替换到什么程度，大伙可以自己多试试看，</li>
<li>在Archives.php里的顶部写入一下内容：<br />
&lt;?php<br />
/*<br />
Template Name: 我的Archives<br />
*/<br />
?&gt;</li>
<li>保存Archives.php，上传至自己现在所使用的themes里</li>
<li>后台－管理－页面－创建新页面，页面名为“Archives”或者“归档”都可以，然后在右侧的模块里选择“我的Archives”，保存后回到前台刷新就可使用。</li>
</ol>
<p>我随机修改了四个皮肤，整个页面都很可以。其实建立适合自己的页面还是很简单的，这里用到的就是替换法。</p>
<p style="margin:0;padding:0;height:1px;overflow:hidden;">
    <script type="text/javascript"><!--
        var wumiiSitePrefix = "http://www.notycn.com";
        var wumiiEnableCustomPos = true;
        var wumiiParams = "&#038;num=8&#038;mode=3&#038;displayInFeed=1&#038;version=1.0.5.5&#038;pf=WordPress3.3.1";
    //--></script><script type="text/javascript" src="http://widget.wumii.com/ext/relatedItemsWidget.htm"></script><a href="http://www.wumii.com/widget/relatedItems.htm" style="border:0;"><img src="http://static.wumii.com/images/pixel.png" alt="无觅相关文章插件，快速提升流量" style="border:0;padding:0;margin:0;" /></a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1" color="#000000" style="display: block !important; padding: 20px 0 5px !important;">相关文章</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F55.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">使用SRG Clean Archives来建立一个简洁的归档页</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F166.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">今天生日，发布一款山寨版主题：GWthem for wordpress</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F336.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">发布wordpress主题：</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F275.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">我的wordpress改造修改过程－记录点滴之三</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.notycn.com%2Fweb%2F169.html&from=http%3A%2F%2Fwww.notycn.com%2Fweb%2F74.html">
                        <font size="-1" color="#1843A8" style="line-height: 1.65em; font-size: 14px !important;">GWthem主题：提供下载</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  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>]]></content:encoded>
			<wfw:commentRss>http://www.notycn.com/web/74.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

