<?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>伟景博客 &#187; 主题</title>
	<atom:link href="http://pengfubing.com/content/tag/%e4%b8%bb%e9%a2%98/feed" rel="self" type="application/rss+xml" />
	<link>http://pengfubing.com</link>
	<description>专注于膜技术，水处理，节能减排，循环经济，Wordpress，留学生活等</description>
	<lastBuildDate>Mon, 12 Jul 2010 23:21:43 +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>转换为UTF-8文件并去掉BOM</title>
		<link>http://pengfubing.com/content/wordpress/utf-8-without-bom.html</link>
		<comments>http://pengfubing.com/content/wordpress/utf-8-without-bom.html#comments</comments>
		<pubDate>Wed, 06 Jan 2010 07:21:57 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[BOM]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[UTF-8]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=436</guid>
		<description><![CDATA[在汉化wordpress主题时需要存成utf-8格式的文件并去除BOM。可以用一下方法实现： EmEditor软件，先打开任意一个PHP文件，按Alt+回车，选择“文件”的标签，在“打开时的字符码”，选择“UTF-8”，然后关闭EmEditor。以后打开任何PHP文件，只要按Ctrl+S，或者Ctrl+E，就可以保存为UTF-8编码的无BOM文件，十分方便。 UltraEdit可以点击“文件→另存为”，格式选择“UTF-8无BOM”，英文网页每次都需要这个操作。否则，在按Ctrl+S时，会被保存为ANSI格式。中文网页，在第一次另存为之后，以后只要按Ctrl+S即可。 EmEditor也可以用同样的方法，“文件→另存为”，字符码选择“UTF-8”，去掉“加入 Unicode 署名”前面的勾，英文网页每次都需要这个操作。同样，中文网页，在第一次另存为之后，以后只要按Ctrl+S即可。EmEditor建议按照第一段文字的方法设置，以后无需每次都使用“另存为”。 相关文章网站截图bluga.net的easy thumb API 新的主题上线Wordpress主题框架为Wordpress主题再加入一个样式表WordPress主题中不使用插件就能实现的五个常用功能（转载）2009年十大WordPress CMS主题Wordpress CMS-Style Theme : iNews-v2CMS主题：BBtheme最终版Wordpres主题]]></description>
			<content:encoded><![CDATA[<p>在汉化wordpress主题时需要存成utf-8格式的文件并去除BOM。可以用一下方法实现：</p>
<p>EmEditor软件，先打开任意一个PHP文件，按Alt+回车，选择“文件”的标签，在“打开时的字符码”，选择“UTF-8”，然后关闭EmEditor。<strong>以后打开任何PHP文件，只要按Ctrl+S，或者Ctrl+E，就可以保存为UTF-8编码的无BOM文件</strong>，十分方便。</p>
<p><span id="more-436"></span>UltraEdit可以点击“文件→另存为”，格式选择“UTF-8无BOM”，英文网页每次都需要这个操作。否则，在按Ctrl+S时，会被保存为ANSI格式。中文网页，在第一次另存为之后，以后只要按Ctrl+S即可。</p>
<p>EmEditor也可以用同样的方法，“文件→另存为”，字符码选择“UTF-8”，去掉“加入 Unicode  署名”前面的勾，英文网页每次都需要这个操作。同样，中文网页，在第一次另存为之后，以后只要按Ctrl+S即可。EmEditor建议按照第一段文字的方法设置，以后无需每次都使用“另存为”。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/wordpress/bluga-net-easythumb-api.html" title="网站截图bluga.net的easy thumb API ">网站截图bluga.net的easy thumb API </a></li><li><a href="http://pengfubing.com/content/wordpress/new-wordpress-themes.html" title="新的主题上线">新的主题上线</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-theme-framework.html" title="Wordpress主题框架">Wordpress主题框架</a></li><li><a href="http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html" title="为Wordpress主题再加入一个样式表">为Wordpress主题再加入一个样式表</a></li><li><a href="http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html" title="WordPress主题中不使用插件就能实现的五个常用功能（转载）">WordPress主题中不使用插件就能实现的五个常用功能（转载）</a></li><li><a href="http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html" title="2009年十大WordPress CMS主题">2009年十大WordPress CMS主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html" title="Wordpress CMS-Style Theme : iNews-v2">Wordpress CMS-Style Theme : iNews-v2</a></li><li><a href="http://pengfubing.com/content/wordpress/cms-bbtheme.html" title="CMS主题：BBtheme最终版">CMS主题：BBtheme最终版</a></li><li><a href="http://pengfubing.com/content/wordpress/wordprestheme.html" title="Wordpres主题">Wordpres主题</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/utf-8-without-bom.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>新的主题上线</title>
		<link>http://pengfubing.com/content/wordpress/new-wordpress-themes.html</link>
		<comments>http://pengfubing.com/content/wordpress/new-wordpress-themes.html#comments</comments>
		<pubDate>Mon, 04 Jan 2010 06:59:49 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=428</guid>
		<description><![CDATA[新弄了个主题终于上线了，不是原创（但应该属于半原创吧？？），属于东拼西凑型，吸取了很多主题中喜欢的设计，但是有待日后进一步完善。 如果有网友需要，我也可以分享给你。 相关文章Wordpress主题框架为Wordpress主题再加入一个样式表WordPress主题中不使用插件就能实现的五个常用功能（转载）2009年十大WordPress CMS主题Wordpress CMS-Style Theme : iNews-v2CMS主题：BBtheme最终版Wordpres主题用WordPress内置jQuery制作Tabs滑动效果转换为UTF-8文件并去掉BOMWordpress注册新用户直接显示密码毋须邮件发送]]></description>
			<content:encoded><![CDATA[<p>新弄了个主题终于上线了，不是原创（但应该属于半原创吧？？），属于东拼西凑型，吸取了很多主题中喜欢的设计，但是有待日后进一步完善。</p>
<p>如果有网友需要，我也可以分享给你。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/wordpress/wordpress-theme-framework.html" title="Wordpress主题框架">Wordpress主题框架</a></li><li><a href="http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html" title="为Wordpress主题再加入一个样式表">为Wordpress主题再加入一个样式表</a></li><li><a href="http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html" title="WordPress主题中不使用插件就能实现的五个常用功能（转载）">WordPress主题中不使用插件就能实现的五个常用功能（转载）</a></li><li><a href="http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html" title="2009年十大WordPress CMS主题">2009年十大WordPress CMS主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html" title="Wordpress CMS-Style Theme : iNews-v2">Wordpress CMS-Style Theme : iNews-v2</a></li><li><a href="http://pengfubing.com/content/wordpress/cms-bbtheme.html" title="CMS主题：BBtheme最终版">CMS主题：BBtheme最终版</a></li><li><a href="http://pengfubing.com/content/wordpress/wordprestheme.html" title="Wordpres主题">Wordpres主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-jquery-tabs.html" title="用WordPress内置jQuery制作Tabs滑动效果">用WordPress内置jQuery制作Tabs滑动效果</a></li><li><a href="http://pengfubing.com/content/wordpress/utf-8-without-bom.html" title="转换为UTF-8文件并去掉BOM">转换为UTF-8文件并去掉BOM</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-register-without-email-notification.html" title="Wordpress注册新用户直接显示密码毋须邮件发送">Wordpress注册新用户直接显示密码毋须邮件发送</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/new-wordpress-themes.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress主题框架</title>
		<link>http://pengfubing.com/content/wordpress/wordpress-theme-framework.html</link>
		<comments>http://pengfubing.com/content/wordpress/wordpress-theme-framework.html#comments</comments>
		<pubDate>Sun, 27 Dec 2009 21:47:09 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=387</guid>
		<description><![CDATA[主题框架是一个主题，设计的目的是为了更灵活的运用，作为子主题设计的父主题。使用WordPress主题框架可能会减少在创建主题基础结构的工作量（通常都会使用PHP及WordPress标签模板）。主题框架也使得主题开发变得更加便捷，不再需要编程知识。我这里列出了几款WordPress框架及根据这些框架搭建的子主题，相关的文章足以帮组您开发WordPress主题。 1.Thematic, WordPress 主题框架 Thematic是一款免费的，开源的，高扩展的，经过搜索引擎优化的WordPress主题框架，具有13个独立小工具，基于网格的布局样式，获得了所有的社区的支持。非常设和初学者及WordPress博客开发专业人员。 现场演示预览 2. Hybrid WordPress 主题框架 令人惊异的 WordPress 主题框架，确切地说这也是我最喜欢的一套框架。这里列出这套框架中的简易功能列表： 我仅仅列出简短的列表，这样您可以继续尝试去创建新的主题: 先在构思好子主题创建思路，这样您就不会失去自由发挥的定制化了 搜索引擎优化。没有必要再需求其他插件来优化了。 主题选项，有关内容/信息。 模板相关的信息 13页的模板范本。 已经更新到WP 2.7 版本，向后兼容至2.5版本。 15+ 个支持该主题的插件。 您可能从未经历过的附件处理。 高级breadcrumb以外的其他主题。 能够运行任何类型的网站。 20多个教程开始 现场演示预览 3.Carrington – CMS 的WordPress主题框架 Carrington 是WordPress内容管理系统的主题框架，可以创建独特的、不同外观类别、文章展示、评价的自定义模板。该主题框架拥有完整的文档，社区论坛会解释您的问题，非常友善! 现场演示预览 4.Vanilla 主题 Vanilla’s key boast is this: 赋予设计师的特殊的权利及自由–不需要（或很少）了解或接触 PHP。这要感谢PHPTAL模板组合的功能，Carrington的原子模板，YUI CSS及完全的页面可编程(包括自定义工具控制). 这套有趣的框架跟几个框架结合在一起，发布在 code.google.com – 绝对值得查看！ 现场演示预览 5.Whiteboard – 一款免费的 WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>主题框架是一个主题，设计的目的是为了更灵活的运用，作为子主题设计的父主题。使用WordPress主题框架可能会减少在创建主题基础结构的工作量（通常都会使用<a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">PHP</a>及WordPress标签模板）。主题框架也使得主题开发变得更加便捷，不再需要编程知识。我这里列出了几款WordPress框架及根据这些框架搭建的子主题，相关的文章足以帮组您开发WordPress主题。</p>
<h2>1.<a href="http://themeshaper.com/thematic/" target="_blank">Thematic, WordPress 主题框架</a></h2>
<p>Thematic是一款免费的，开源的，高扩展的，经过搜索引擎优化的WordPress主题框架，具有13个独立小工具，基于网格的布局样式，获得了所有的社区的支持。非常设和初学者及WordPress博客开发专业人员。</p>
<p><a href="http://themeshaper.com/thematic/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/thematic-wordpress-theme-framework.jpg" alt="thematic-wordpress-theme-framework" width="570" height="324" /></a></p>
<p><a href="http://themeshaper.com/demo/thematic/?wptheme=Thematic" target="_blank">现场演示预览</a></p>
<h2><span id="more-387"></span>2. <a href="http://themehybrid.com/archives/2008/11/hybrid-wordpress-theme-framework" target="_blank">Hybrid WordPress 主题框架</a></h2>
<p>令人惊异的 WordPress 主题框架，确切地说这也是我最喜欢的一套框架。这里列出这套框架中的简易功能列表：</p>
<p>我仅仅列出简短的列表，这样您可以继续尝试去创建新的主题:</p>
<ul>
<li>
<div>先在构思好子主题创建思路，这样您就不会失去自由发挥的定制化了</div>
</li>
<li>
<div>搜索引擎优化。没有必要再需求其他插件来优化了。</div>
</li>
<li>
<div>主题选项，有关内容/信息。</div>
</li>
<li>
<div>模板相关的信息</div>
</li>
<li>
<div>13页的模板范本。</div>
</li>
<li>
<div>已经更新到WP 2.7 版本，向后兼容至2.5版本。</div>
</li>
<li>
<div>15+ 个支持该主题的插件。</div>
</li>
<li>
<div>您可能从未经历过的附件处理。</div>
</li>
<li>
<div>高级breadcrumb以外的其他主题。</div>
</li>
<li>
<div>能够运行任何类型的网站。</div>
</li>
<li>
<div>20多个教程开始</div>
</li>
</ul>
<p><a href="http://themehybrid.com/archives/2008/11/hybrid-wordpress-theme-framework" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/hybrid-wordpress-theme-framework.jpg" alt="hybrid-wordpress-theme-framework" width="570" height="327" /></a></p>
<p><a href="http://themehybrid.com/demo/hybrid/" target="_blank">现场演示预览</a></p>
<h2>3.<a href="http://carringtontheme.com/" target="_blank">Carrington – CMS 的WordPress主题框架</a></h2>
<p>Carrington 是WordPress内容管理系统的主题框架，可以创建独特的、不同外观类别、文章展示、评价的自定义模板。该主题框架拥有完整的文档，社区论坛会解释您的问题，非常友善!</p>
<p><a href="http://carringtontheme.com/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/carrington-wordpress-theme-framework.jpg" alt="carrington-wordpress-theme-framework" width="570" height="318" /></a></p>
<p><a href="http://blog.carringtontheme.com/" target="_blank">现场演示预览</a></p>
<h2>4.<a href="http://code.google.com/p/vanilla-theme/" target="_blank">Vanilla 主题</a></h2>
<p>Vanilla’s key boast is this: 赋予设计师的特殊的权利及自由–不需要（或很少）了解或接触 <a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">PHP</a>。这要感谢PHPTAL模板组合的功能，Carrington的原子模板，YUI CSS及完全的页面可编程(包括自定义工具控制).</p>
<p>这套有趣的框架跟几个框架结合在一起，发布在 code.google.com – 绝对值得查看！</p>
<p><a href="http://code.google.com/p/vanilla-theme/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/vanilla-theme-wordpress.jpg" alt="vanilla-theme-wordpress" width="570" height="326" /></a></p>
<p><a href="http://www.vanillatheme.com/" target="_blank">现场演示预览</a></p>
<h2>5.<a href="http://plainbeta.com/2008/05/20/whiteboard-a-free-wordpress-theme-framework/" target="_blank">Whiteboard – 一款免费的 WordPress 主题框架</a></h2>
<p>它设计的目的是为了加速设计的进度及WordPress主题代码的编写，在每一个主题中消除在WordPress的<a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">PHP</a>后台中花费的时间。</p>
<p>Whiteboard 是简介的，带注释的、紧凑的 (只有 76KB – 没有压缩!)。它包含有所有的 WordPress主题需要的 <a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">PHP</a>标准标签及<a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">PHP</a>文件 – 外加几个额外的。</p>
<p><a href="http://plainbeta.com/2008/05/20/whiteboard-a-free-wordpress-theme-framework/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/whiteboard-wordpress-theme-framework.jpg" alt="whiteboard-wordpress-theme-framework" width="570" height="200" /></a></p>
<h2>6. <a href="http://wpframework.com/" target="_blank">WP 框架 – 一款空白的WordPress 主题框架</a></h2>
<p>WP 框架是一款空白的WordPress 主题框架, 其目的是为了减少开发时间。它给您提供了几个坚实的基础，这样您就有充足的时间来完成您的创作了。</p>
<p><a href="http://wpframework.com/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/wp-framework-wordpress-theme-framework.jpg" alt="wp-framework-wordpress-theme-framework" width="570" height="300" /></a></p>
<h2>7. <a href="http://www.plaintxt.org/themes/sandbox/" target="_blank">SandBox </a></h2>
<p>Sandbox 对于WordPress主题设计和开发而言是个有力的开发工具。通过CSS，Sandbox就可以简单的进行设计，少了<a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">PHP</a>的干扰，对于新手来说会觉得非常舒服。</p>
<p>经验丰富的开发和设计人员可以以最少的工作完成几乎所有的东西，这要感谢Sandbox丰富的、语义标记及丰富的动态生成类。</p>
<p><a href="http://www.plaintxt.org/themes/sandbox/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/sandbox-wordpress-theme-framework.jpg" alt="sandbox-wordpress-theme-framework" width="570" height="304" /></a></p>
<h2>8. <a href="http://onepresscommunity.com/" target="_blank">OnePress 社区框架</a></h2>
<p>OnePress 框架提供综合的网站和论坛的解决办法。这是一套简单的WordPress主题，提供基础服务及框架的为您建立网站及在线社区。凭借强大的WordPress的和phpBB项目, OnePress 提供了一套能帮助您集中精力从里到外建立和维护网站的工具。有了这套工具，您可以轻松地运行您的社区和作专业的介绍。</p>
<p><a href="http://onepresscommunity.com/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/onpress-community-framework.jpg" alt="onpress-community-framework" width="570" height="276" /></a></p>
<h2>9. <a href="http://wpcandy.com/articles/the-wordpress-starter-theme-project.html" target="_blank">The WordPress Starter Theme Project</a></h2>
<p>这些描述一些 WPcandy starter 主题的特征:</p>
<ul>
<li>
<div>标签顶部空白style.css的定义，包括主题名，作者，URL等</div>
</li>
<li>
<div>内容就绪 404, archive, search, index, single post, and page 等文件</div>
</li>
<li>
<div>完全的, comments.<a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">php</a> 文件</div>
</li>
<li>
<div>完整的 header.<a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">php</a> RSS的连接, 一个样式, 一个 JS 文件; &lt;主题&gt; 模板</div>
</li>
<li>
<div>默认搜索表单模板</div>
</li>
<li>
<div>空的 screenshot.png 文件及图片文件夹</div>
</li>
</ul>
<p><a href="http://wpcandy.com/articles/the-wordpress-starter-theme-project.html" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/wp-candy-starter-theme.jpg" alt="wp-candy-starter-theme" width="570" height="140" /></a></p>
<p>一些子主题及资源:</p>
<h2><a href="http://patdryburgh.net/junction/" target="_blank">Junction WordPress Child Theme</a></h2>
<p>Junction is a WordPress Child Theme based on the Thematic Theme Framework. In terms of style, Junction is vastly different from Thematic, however Junction capitalizes on the power of the Thematic Framework, which allows the ability to style the entire template without touching a single line of original <a title="标签 PHP 下的日志" rel="tag nofollow" href="http://www.iwanna.cn/tags/php/">php</a> or html code.</p>
<p><a href="http://patdryburgh.net/junction/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/junction-wordpress-child-theme.jpg" alt="junction-wordpress-child-theme" width="439" height="334" /></a></p>
<h2><a href="http://themeshaper.com/category/thematic-child-themes/" target="_blank">Thematic Child Themes</a></h2>
<p>Thematic offers a bunch of child themes, I featured one of them, but You should check this site for Yourself, actually I suggest You to subscribe to this site if You’re serious about WordPress theme developing.</p>
<p><a href="http://themeshaper.com/category/thematic-child-themes/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/thematic-chil-themes.jpg" alt="thematic-chil-themes" width="570" height="362" /></a></p>
<h2><a href="http://themeshaper.com/acamas-theme-clarity-elegance-power/" target="_blank">Acamas WordPress Child Theme</a></h2>
<p>Acamas is a Thematic Themelet. That means Acamas requires the Thematic Theme Framework installed in your WordPress theme directory. Thematic powers Acamas. And Acamas builds on the power of Thematic. But don’t worry! Thematic is free. Even better, it’s open-source and one of the most advanced SEO WordPress themes around. Download Thematic now and set your blog on a rock-solid foundation for success.</p>
<p><a href="http://themeshaper.com/acamas-theme-clarity-elegance-power/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/acamas-wordpress-child-theme.jpg" alt="acamas-wordpress-child-theme" width="570" height="313" /></a></p>
<p><a href="http://themeshaper.com/acamas/" target="_blank">现场演示预览</a></p>
<p>最后我找到了一些相关的文章，如果您对使用/修改或者开发WordPress主题感兴趣，那么您就应该读一下。:</p>
<h2><a href="http://themeshaper.com/functions-php-wordpress-child-themes/" target="_blank">How I used a WordPress Child Theme To Redesign My Blog</a></h2>
<p><a href="http://themeshaper.com/functions-php-wordpress-child-themes/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/how-i-used-wp-child-theme.jpg" alt="how-i-used-wp-child-theme" width="570" height="275" /></a></p>
<h2><a href="http://www.scratch99.com/2009/02/poll-wordpress-theme-frameworks/" target="_blank">Poll – WordPress 主题框架的使用?</a></h2>
<p>这里讨论的是一项有趣的调查，目的是为了帮助您找到适合自己的一套WordPress主题框架。</p>
<p><a href="http://www.scratch99.com/2009/02/poll-wordpress-theme-frameworks/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/framework-poll.jpg" alt="framework-poll" width="475" height="265" /></a></p>
<h2><a href="http://justintadlock.com/archives/2008/12/24/why-i-created-a-wordpress-theme-framework" target="_blank">我为什么要创建该WordPress主题框架呢？</a></h2>
<p>Justin Tadlock, 创建了 Hybrid 主题框架，为什么要使用这套主题，以及如何使用或者想知道更多的 – 那么就请阅读这篇文章吧！</p>
<p><a href="http://justintadlock.com/archives/2008/12/24/why-i-created-a-wordpress-theme-framework" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/why-i-created-wordpress-framework.jpg" alt="why-i-created-wordpress-framework" width="570" height="234" /></a></p>
<p><a href="http://op111.net/53" target="_blank"><br />
</a></p>
<h2><a href="http://op111.net/53" target="_blank">怎么创建 WordPress 子主题 : 提供给初学者的画报简介</a></h2>
<p>你可以本文阅读到:</p>
<div>
<ol>
<li>
<div>子主题在 WordPress 中是怎么运行的</div>
</li>
<li>
<div>怎样才能修改最少的代码以便创建主题呢？</div>
</li>
<li>
<div>您需要哪些来修改子主题</div>
</li>
<li>
<div>组装子主题：框架</div>
</li>
<li>
<div>使用 Firebug</div>
</li>
<li>
<div>在您的子主题中创建 CSS 规则</div>
</li>
<li>
<div>将以上所有的信息都存放在一起的时候就可以激活这个子主题了。</div>
</li>
<li>
<div>注意</div>
</li>
<li>
<div>工具和资源的链接</div>
</li>
</ol>
</div>
<h2><a href="http://themeshaper.com/forums/" target="_blank">ThemeShaper 论坛</a></h2>
<p>这个论坛会提供给您很多不清除的问题，致力于帮助您修改WordPress主题</p>
<p><a href="http://themeshaper.com/forums/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/themeshaper-forums.jpg" alt="themeshaper-forums" width="570" height="286" /></a></p>
<h2><a href="http://lorelle.wordpress.com/" target="_blank">Lorelle 的 WordPress</a></h2>
<p>“帮助您了解更多的关于博客，WordPress每天帮助、小帖士、建议，博客技术及使用WordPress和WordPress.com。现在，该博客会帮您解决出现的问题。”让人吃惊的是，这里有很多实用的关于WordPress的文章及链接，这些会使您的技能提高一个档次。</p>
<h2><a href="http://lorelle.wordpress.com/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/lorelle-on-wordpress.jpg" alt="lorelle-on-wordpress" width="570" height="97" /></a></h2>
<p><a href="http://codex.wordpress.org/Main_Page" target="_blank"><br />
</a></p>
<h2><a href="http://codex.wordpress.org/Main_Page" target="_blank">WordPress Codex</a></h2>
<p>当然，您也不应该忘记WordPress官方网站创建的Codex站点。很显然，我们经常会忘记它的存在</p>
<p><a href="http://codex.wordpress.org/Main_Page" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/wordpress-codex.jpg" alt="wordpress-codex" width="570" height="212" /></a></p>
<h2><a href="http://www.wpdesigner.com/2007/02/19/so-you-want-to-create-wordpress-themes-huh/" target="_blank">因此，您想要创建WordPress主题了，哈?</a></h2>
<p>优秀的WordPress指导教程会帮助您如何从零开始创建WordPress主题，并会明确说明每一个代码段。我个人是从这里开始学习WordPress的。</p>
<p><a href="http://www.wpdesigner.com/2007/02/19/so-you-want-to-create-wordpress-themes-huh/" target="_blank"><img src="http://www.1stwebdesigner.com/wp-content/uploads/2009/04/wp-framework/wpdesigner-wordpress-guide.jpg" alt="wpdesigner-wordpress-guide" width="570" height="228" /></a></p>
<p>在本文中我想想显示最好的WordPress主题框架及几个准侧以供您探究；也正因为此我一直在在发布WordPress教程、资源，并在以后会一直持续。很高兴分享！</p>
<p><a href="http://www.1stwebdesigner.com/wordpress/wordpress-theme-frameworks-and-starting-resources/" target="_blank">英文原文来源</a>  <a href="http://www.iwanna.cn/">我想网</a> 板凳 <a href="http://www.iwanna.cn/tags/translate/" target="_blank">翻译</a></p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/wordpress/new-wordpress-themes.html" title="新的主题上线">新的主题上线</a></li><li><a href="http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html" title="为Wordpress主题再加入一个样式表">为Wordpress主题再加入一个样式表</a></li><li><a href="http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html" title="WordPress主题中不使用插件就能实现的五个常用功能（转载）">WordPress主题中不使用插件就能实现的五个常用功能（转载）</a></li><li><a href="http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html" title="2009年十大WordPress CMS主题">2009年十大WordPress CMS主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html" title="Wordpress CMS-Style Theme : iNews-v2">Wordpress CMS-Style Theme : iNews-v2</a></li><li><a href="http://pengfubing.com/content/wordpress/cms-bbtheme.html" title="CMS主题：BBtheme最终版">CMS主题：BBtheme最终版</a></li><li><a href="http://pengfubing.com/content/wordpress/wordprestheme.html" title="Wordpres主题">Wordpres主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-jquery-tabs.html" title="用WordPress内置jQuery制作Tabs滑动效果">用WordPress内置jQuery制作Tabs滑动效果</a></li><li><a href="http://pengfubing.com/content/wordpress/utf-8-without-bom.html" title="转换为UTF-8文件并去掉BOM">转换为UTF-8文件并去掉BOM</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-register-without-email-notification.html" title="Wordpress注册新用户直接显示密码毋须邮件发送">Wordpress注册新用户直接显示密码毋须邮件发送</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/wordpress-theme-framework.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为WordPress主题再加入一个样式表</title>
		<link>http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html</link>
		<comments>http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html#comments</comments>
		<pubDate>Thu, 24 Dec 2009 23:10:53 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[style.css]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=372</guid>
		<description><![CDATA[转自:Wopus中文平台 http://www.wopus.org/integrating-alternative-stylesheets.html 今天我来给大家分享一个教程，一个主题使用多个样式表，并可以在页面上快速切换，你可能已经见过了这样的主题，如果你还不明白它有什么用处。那么你可以看看下面几个例子。 通过点击页面右上角落上不同颜色的小图，就可以改变主题的配色。 例如这两个主题:Xplosive Reloaded Wpdesigner7 在绝大多数的情况下，每一个WordPress主题有一个style.CSS文件，你可以查看一下自己目前用的主题文件目录下是否有个 style.css。style.css是一个的样式表文件，它定义了主题的颜色，字体，等等等等，如果你不明白CSS是什么，那么你可以看看什么是CSS？它的能做些什么？。通常是在主题的header.php文件里有这样的一段代码。 &#60;link rel=”stylesheet” href=”&#60;?php bloginfo(’stylesheet_url’); ?&#62;” type=”text/css” media=”screen” /&#62;&#60;/link&#62; 这是代码表示这个主题调用CSS,并且指出了CSS文件的地址。 明白了这些，现在，你需要新建一个CSS文件，根据原先主题的CSS，更改外观或布局。例如，你可以改变颜色的背景，字体，定位工具栏，页眉图像等，（CSS修改不在本文的讨论范围）你新建的CSS文件，将成为你主题的第二个样式表，以供页面上风格切换的调用，你应该为它取个名字，比如 blue.css。我们应该像默认的CSS文件那样，在header.php声明一下，如下面这段代码。 &#60;link rel=”alternate stylesheet” type=”text/css” href=”&#60;?php bloginfo(‘template_directory’); ?&#62;/blue.css” media=”screen” title=”blue” /&#62;&#60;/link&#62; 现在，在header.php中声明了blue.css文件的存在，CSS文件也有了，但是，我们暂时没有使用它，它只是个替补，我们采用JavaScript以供页面上样式切换功能的实现。 点击下载styleswitcher.js文件，并将它放在主题目录下 继续编辑header.php，在标签前面加上调用这个js文件的代码： &#60;script type=”text/javascript” src=”&#60;?php bloginfo(‘template_directory’); ?&#62;/styleswitcher.js”&#62;&#60;/script&#62; 好了。教程到这里结束了，本文重在讲述的过程，而没有对CSS修改等具体问题进行讨论，有问题，欢迎留言! 英文原文教程地址：http://www.blogohblog.com/integrating-alternative-stylesheets/ 相关文章新的主题上线Wordpress主题框架WordPress主题中不使用插件就能实现的五个常用功能（转载）2009年十大WordPress CMS主题Wordpress CMS-Style Theme : iNews-v2CMS主题：BBtheme最终版Wordpres主题用WordPress内置jQuery制作Tabs滑动效果转换为UTF-8文件并去掉BOMWordpress注册新用户直接显示密码毋须邮件发送]]></description>
			<content:encoded><![CDATA[<div>
<p>转自:Wopus中文平台 <a href="http://www.wopus.org/integrating-alternative-stylesheets.html">http://www.wopus.org/integrating-alternative-stylesheets.html</a><br />
今天我来给大家分享一个教程，一个<a rel="nofollow" href="http://zmingcx.cn/category/wordpresstheme">主题</a>使用多个样式表，并可以在页面上快速切换，你可能已经见过了这样的主题，如果你还不明白它有什么用处。那么你可以看看下面几个例子。<br />
通过点击页面右上角落上不同颜色的小图，就可以改变主题的配色。</p>
<p>例如这两个主题:<a href="http://wpthemes.blogohblog.net/index.php?wptheme=Xplosive+Reloaded">Xplosive Reloaded</a> <a href="http://www.wpdesigner.com/demo/index.php?preview=Wpdesigner7">Wpdesigner7 </a></p>
<p>在绝大多数的情况下，每一个<a rel="nofollow" href="http://zmingcx.cn/category/wordpresstechnology" target="_blank">WordPress</a>主题有一个style.<a rel="nofollow" href="http://zmingcx.cn/category/webdesign" target="_blank">CSS</a>文件，你可以查看一下自己目前用的主题文件目录下是否有个 style.css。style.css是一个的样式表文件，它定义了主题的颜色，字体，等等等等，如果你不明白CSS是什么，那么你可以看看什么是CSS？它的能做些什么？。通常是在主题的header.php文件里有这样的一段代码。</p>
<p>&lt;link rel=”stylesheet” href=”&lt;?php bloginfo(’stylesheet_url’); ?&gt;” type=”text/css” media=”screen” /&gt;&lt;/link&gt;</p>
<p>这是代码表示这个主题调用CSS,并且指出了CSS文件的地址。</p>
<p><span id="more-372"></span>明白了这些，现在，你需要新建一个CSS文件，根据原先主题的CSS，更改外观或布局。例如，你可以改变颜色的背景，字体，定位工具栏，页眉图像等，（CSS修改不在本文的讨论范围）你新建的CSS文件，将成为你主题的第二个样式表，以供页面上风格切换的调用，你应该为它取个名字，比如 blue.css。我们应该像默认的CSS文件那样，在header.php声明一下，如下面这段代码。</p>
<p>&lt;link rel=”alternate stylesheet” type=”text/css” href=”&lt;?php bloginfo(‘template_directory’); ?&gt;/blue.css” media=”screen” title=”blue” /&gt;&lt;/link&gt;</p>
<p>现在，在header.php中声明了blue.css文件的存在，CSS文件也有了，但是，我们暂时没有使用它，它只是个替补，我们采用JavaScript以供页面上样式切换功能的实现。</p>
<p>点击下载<a href="http://www.blogohblog.com/request/styleswitcher.js">styleswitcher.js</a>文件，并将它放在主题目录下</p>
<p>继续编辑header.php，在标签前面加上调用这个js文件的代码：</p>
<p>&lt;script type=”text/javascript” src=”&lt;?php bloginfo(‘template_directory’); ?&gt;/styleswitcher.js”&gt;&lt;/script&gt;</p>
<p>好了。教程到这里结束了，本文重在讲述的过程，而没有对CSS修改等具体问题进行讨论，有问题，欢迎留言!</p>
<p>英文原文教程地址：<a href="http://www.blogohblog.com/integrating-alternative-stylesheets/">http://www.blogohblog.com/integrating-alternative-stylesheets/</a></p>
</div>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/wordpress/new-wordpress-themes.html" title="新的主题上线">新的主题上线</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-theme-framework.html" title="Wordpress主题框架">Wordpress主题框架</a></li><li><a href="http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html" title="WordPress主题中不使用插件就能实现的五个常用功能（转载）">WordPress主题中不使用插件就能实现的五个常用功能（转载）</a></li><li><a href="http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html" title="2009年十大WordPress CMS主题">2009年十大WordPress CMS主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html" title="Wordpress CMS-Style Theme : iNews-v2">Wordpress CMS-Style Theme : iNews-v2</a></li><li><a href="http://pengfubing.com/content/wordpress/cms-bbtheme.html" title="CMS主题：BBtheme最终版">CMS主题：BBtheme最终版</a></li><li><a href="http://pengfubing.com/content/wordpress/wordprestheme.html" title="Wordpres主题">Wordpres主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-jquery-tabs.html" title="用WordPress内置jQuery制作Tabs滑动效果">用WordPress内置jQuery制作Tabs滑动效果</a></li><li><a href="http://pengfubing.com/content/wordpress/utf-8-without-bom.html" title="转换为UTF-8文件并去掉BOM">转换为UTF-8文件并去掉BOM</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-register-without-email-notification.html" title="Wordpress注册新用户直接显示密码毋须邮件发送">Wordpress注册新用户直接显示密码毋须邮件发送</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress主题中不使用插件就能实现的五个常用功能（转载）</title>
		<link>http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html</link>
		<comments>http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html#comments</comments>
		<pubDate>Thu, 24 Dec 2009 22:52:45 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[主题]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=368</guid>
		<description><![CDATA[当我们在寻找一个合适的WordPress主题时，对主题所包含的基本功能有所要求的同时又希望主题不用强制使用某些插件。总结在WordPress主题的日常使用中，其实我们常用的一些功能，它们并不需要依靠插件才能实现的。譬如下面将要介绍的最新评论，最热文章，相关文章，最新文章，随机文章五个常用功能。 最新评论： 在需要添加最新评论的地方插入如下代码则可： &#60;?php global $wpdb; $sql = &#8220;SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb-&#62;comments LEFT OUTER JOIN $wpdb-&#62;posts ON ($wpdb-&#62;comments.comment_post_ID = $wpdb-&#62;posts.ID) WHERE comment_approved = &#8217;1&#8242; AND comment_type = &#8221; AND post_password = &#8221; ORDER BY comment_date_gmt DESC LIMIT 10&#8243;; $comments = $wpdb-&#62;get_results($sql); $output = [...]]]></description>
			<content:encoded><![CDATA[<p>当我们在寻找一个合适的WordPress主题时，对主题所包含的基本功能有所要求的同时又希望主题不用强制使用某些插件。总结在WordPress主题的日常使用中，其实我们常用的一些功能，它们并不需要依靠插件才能实现的。譬如下面将要介绍的<strong>最新评论</strong>，<strong>最热文章</strong>，<strong>相关文章</strong>，<strong>最新文章</strong>，<strong>随机文章</strong>五个常用功能。</p>
<h3>最新评论：</h3>
<p>在需要添加最新评论的地方插入如下代码则可：</p>
<blockquote><p>&lt;?php<br />
global $wpdb;<br />
$sql = &#8220;SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb-&gt;comments LEFT OUTER JOIN $wpdb-&gt;posts ON ($wpdb-&gt;comments.comment_post_ID = $wpdb-&gt;posts.ID) WHERE comment_approved = &#8217;1&#8242; AND comment_type = &#8221; AND post_password = &#8221; ORDER BY comment_date_gmt DESC LIMIT 10&#8243;;</p>
<p>$comments = $wpdb-&gt;get_results($sql);<br />
$output = $pre_HTML;</p>
<p>foreach ($comments as $comment) {<br />
$output .= &#8220;n&lt;li&gt;&#8221;. &#8220;&lt;a href=&#8221;" . get_permalink($comment-&gt;ID).&#8221;#comment-&#8221; . $comment-&gt;comment_ID . &#8220;&#8221; title=&#8221;on &#8220;.$comment-&gt;post_title . &#8220;&#8221;&gt;&#8221;.strip_tags($comment-&gt;comment_author).&#8221;&lt;/a&gt;&#8221; .&#8221;: &#8221; .strip_tags($comment-&gt;com_excerpt).&#8221;&lt;/li&gt;&#8221;;<br />
}</p>
<p>$output .= $post_HTML;<br />
echo $output;<br />
?&gt;</p></blockquote>
<p>补充，如果你在调用上面代码中出现“syntax error”的报错，可以看下这篇【<a rel="nofollow" href="http://blog.mukispace.com/2009/04/16/wordpress-five-posts-code-without-plugin/" target="_blank">修正文章</a>】，thanks <a rel="nofollow" href="http://blog.mukispace.com/" target="_blank">muki</a> 同学。</p>
<h3><span id="more-368"></span>最热文章：</h3>
<p>在需要添加评论最多的文章列表地方插入如下代码则可：</p>
<blockquote><p>&lt;ul&gt;<br />
&lt;?php $result = $wpdb-&gt;get_results(&#8220;SELECT comment_count,ID,post_title FROM $wpdb-&gt;posts ORDER BY comment_count DESC LIMIT 0 , 10&#8243;);<br />
foreach ($result as $post) {<br />
setup_postdata($post);<br />
$postid = $post-&gt;ID;<br />
$title = $post-&gt;post_title;<br />
$commentcount = $post-&gt;comment_count;<br />
if ($commentcount != 0) { ?&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php echo get_permalink($postid); ?&gt;&#8221; title=&#8221;&lt;?php echo $title ?&gt;&#8221;&gt;<br />
&lt;?php echo $title ?&gt;&lt;/a&gt; (&lt;?php echo $commentcount ?&gt;)&lt;/li&gt;<br />
&lt;?php } } ?&gt;<br />
&lt;/ul&gt;</p></blockquote>
<h3>相关文章：</h3>
<p>是的，就是连相关文章列表我们也不需要插件支持，下面的代码会根据文章中的tag标签自动判断何篇文章与当前相关，而且相关性也很强！</p>
<blockquote><p>&lt;ul&gt;<br />
&lt;?php<br />
$tags = wp_get_post_tags($post-&gt;ID);<br />
if ($tags) {<br />
$first_tag = $tags[0]-&gt;term_id;<br />
$args=array(<br />
&#8216;tag__in&#8217; =&gt; array($first_tag),<br />
&#8216;post__not_in&#8217; =&gt; array($post-&gt;ID),<br />
&#8216;showposts&#8217;=&gt;10,<br />
&#8216;caller_get_posts&#8217;=&gt;1<br />
);<br />
$my_query = new WP_Query($args);<br />
if( $my_query-&gt;have_posts() ) {<br />
while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&#8221;&gt;&lt;?php the_title(); ?&gt; &lt;?php comments_number(&#8216; &#8216;,&#8217;(1)&#8217;,'(%)&#8217;); ?&gt;&lt;/a&gt; &lt;/li&gt;<br />
&lt;?php<br />
endwhile;<br />
}<br />
}<br />
?&gt;<br />
&lt;/ul&gt;</p></blockquote>
<h3>最新文章：</h3>
<p>调用代码如下：</p>
<blockquote><p>&lt;?php<br />
$limit = get_option(&#8216;posts_per_page&#8217;);<br />
$paged = (get_query_var(&#8216;paged&#8217;)) ? get_query_var(&#8216;paged&#8217;) : 1;<br />
query_posts(&#8216;showposts=&#8217; . $limit=7 . &#8216;&amp;paged=&#8217; . $paged);<br />
$wp_query-&gt;is_archive = true; $wp_query-&gt;is_home = false;<br />
?&gt;<br />
&lt;?php while(have_posts()) : the_post(); if(!($first_post == $post-&gt;ID)) : ?&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&#8221;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;?php endif; endwhile; ?&gt;</p></blockquote>
<h3>随机文章：</h3>
<blockquote><p>&lt;?php<br />
query_posts(array(&#8216;orderby&#8217; =&gt; &#8216;rand&#8217;, &#8216;showposts&#8217; =&gt; 1));<br />
if (have_posts()) :<br />
while (have_posts()) : the_post();<br />
the_title();<br />
the_excerpt();<br />
endwhile;<br />
endif; ?&gt;</p></blockquote>
<p>上面的5个功能是一般WordPress主题中被使用得最为频繁，而且在一个WordPress主题中内建这些功能其实很容易。另外，使用这些简单的代码不仅让主题需要使用的插件得以减少，或者这还是那些正在寻找合适主题的朋友的愿望所在。</p>
<p>原文链接：<a href="http://www.saywp.com/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html">http://www.saywp.com/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html</a></p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/wordpress/new-wordpress-themes.html" title="新的主题上线">新的主题上线</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-theme-framework.html" title="Wordpress主题框架">Wordpress主题框架</a></li><li><a href="http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html" title="为Wordpress主题再加入一个样式表">为Wordpress主题再加入一个样式表</a></li><li><a href="http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html" title="2009年十大WordPress CMS主题">2009年十大WordPress CMS主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html" title="Wordpress CMS-Style Theme : iNews-v2">Wordpress CMS-Style Theme : iNews-v2</a></li><li><a href="http://pengfubing.com/content/wordpress/cms-bbtheme.html" title="CMS主题：BBtheme最终版">CMS主题：BBtheme最终版</a></li><li><a href="http://pengfubing.com/content/wordpress/wordprestheme.html" title="Wordpres主题">Wordpres主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-jquery-tabs.html" title="用WordPress内置jQuery制作Tabs滑动效果">用WordPress内置jQuery制作Tabs滑动效果</a></li><li><a href="http://pengfubing.com/content/wordpress/utf-8-without-bom.html" title="转换为UTF-8文件并去掉BOM">转换为UTF-8文件并去掉BOM</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-register-without-email-notification.html" title="Wordpress注册新用户直接显示密码毋须邮件发送">Wordpress注册新用户直接显示密码毋须邮件发送</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2009年十大WordPress CMS主题</title>
		<link>http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html</link>
		<comments>http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html#comments</comments>
		<pubDate>Wed, 23 Dec 2009 06:54:45 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=356</guid>
		<description><![CDATA[本文系转载，原作者为酋长。 从近120款WordPress CMS主题中选出十款，是一件很煎熬的事情，在即将过去的2009年，WordPress在国内得到了长足的发展，WordPress CMS主题也是到处开花。今天，Wopus发布2009年十大WordPress CMS主题，和大家一起分享。 一，ComFy 入选理由： 这款主题最大的特别是页面可控性强，作者把前台技术运用到了极致，不管是轮播图，还是内容部分，都体现着主题作者完美的技术，对于这款主题，没太多的描述，也许有些朋友会不喜欢，但这款主题所蕴含的技术理解，也许会成为WordPress主题2010年的流行趋势。 除了页面功能，顶部构造也是这款主题的特点，大凡CMS主题，都需要这种头部来为整站导航。 主题详细信息：http://themes.wopus.org/wpthemes/english-lanuage/1126.html 二，Mixcss 入选理由： 通过这个主题是想告诉大家，这种也是CMS主题，不一定非要是图片+文字，布局均衡的才算CMS主题，这种纯图片的主题，也是CMS的主题，而且现在非常使用，很多人都在询问Wopus主题站的主题，其实，这款MIXCSS就是一款非常完美的图片主题。也许在2010年，我们能在国内看到很多这种网站出现。 主题详细信息：http://themes.wopus.org/wpthemes/cms/1190.html 三，Androida 入选理由： 一款典型的企业展模版，而且这模板有很强的通用性，几乎可以使用一切的企业站，当你还在苦苦寻找企业展模版的时候，这款是否值得考虑呢？ 主题详细信息：http://themes.wopus.org/wpthemes/cms/1402.html 四，iBizPress Magazine 入选理由： 如果你有疑问，为何推荐了第一款还要推荐这一款，Wopus需要说明的是，这款主题的特点是在页面的2/3一下，而且，使用图片，展示出来的效果，明显比文字更加有力度，一个CMS网站总是有几个子域名站点，合理的通过首页展示十分必要，这款主题提供了一个很好的灵感，一个很好的解决方法。 主题详细信息：http://themes.wopus.org/wpthemes/cms/1443.html 五，WPBoxedTech 入选理由： CMS主题，越来越多的承载着用户的行为，而CMS更多需要的理解是一种平台，一种交流和沟通的平台，这款主题有机的把用户，内容串联并展示出来，可以遇见，WordPress在未来会加强用户角色的管理，而2010的WordPressCMS模版趋势也许会更多的在乎用户行为的体现。 主题详细信息：http://themes.wopus.org/wpthemes/three-column/1487.html 六，Magadine 入选理由： 有人还记得WopusIDC的第一版吗？其实和这款真的很像，最关键的是，这种主题看似简单，却能完成我们对一个网站展示内容的要求，这个主题适合做什么类型的网站？如果这个问题不好回答，那下面这个问题会很容易回答。这个问题不适合做什么类型的网站？ 主题详细信息：http://themes.wopus.org/wpthemes/cms/1539.html 七，simpleCart 入选理由： 没错，WordPress无所不能，这是一个完完全全的电子商务模版，对于WordPress，是只有想不到，没有做不到。 主题详细信息：http://themes.wopus.org/wpthemes/cms/1732.html 八，WPYOU 入选理由： CMS主题中难得看到国人的，而且这款主题也比较符合国人对CMS的认知，页面布局清晰，色彩明朗。 主题详细信息：http://themes.wopus.org/wpthemes/cms/2019.html 九，Readers&#8217;Magazine 入选理由： 一款非常优秀的WordPress CMS模版，两列导航，顶部一列可以放网站一些关联的链接，而下面的可以放分类，页面整体布局合理，色彩搭配完美，特别别顶部页面鼠标悬停效果非常绚丽，而且主题默认有同步显示服务器时间功能。主题内容板块定时轮换非常实用，侧边栏对应的鼠标点击切换搭配完美。 主题详细信息：http://themes.wopus.org/wpthemes/cms/2377.html 十，Vodpod 入选理由： 只因为这是款视频主题，而且是WordPress主题站到目前为止收集到的最好的WordPress视频主题。 主题详细信息：http://themes.wopus.org/wpthemes/video-theme/2387.html 相关文章新的主题上线Wordpress主题框架为Wordpress主题再加入一个样式表WordPress主题中不使用插件就能实现的五个常用功能（转载）我为什么用wordpress做CMS(转载)Wordpress CMS-Style Theme : iNews-v2CMS主题：BBtheme最终版Wordpres主题用WordPress内置jQuery制作Tabs滑动效果转换为UTF-8文件并去掉BOM]]></description>
			<content:encoded><![CDATA[<p>本文系转载，原作者为酋长。</p>
<p>从近120款<a href="http://themes.wopus.org/cms" target="_blank">WordPress CMS主题</a>中选出十款，是一件很煎熬的事情，在即将过去的2009年，WordPress在国内得到了长足的发展，WordPress CMS主题也是到处开花。今天，Wopus发布2009年十大WordPress CMS主题，和大家一起分享。</p>
<p><strong>一，ComFy </strong><br />
<img title="comfy" src="http://www.wopus.org/wp-content/uploads/wopus/2009/12/comfy.jpg" alt="comfy" width="630" height="395" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>这款主题最大的特别是页面可控性强，作者把前台技术运用到了极致，不管是轮播图，还是内容部分，都体现着主题作者完美的技术，对于这款主题，没太多的描述，也许有些朋友会不喜欢，但这款主题所蕴含的技术理解，也许会成为WordPress主题2010年的流行趋势。</p>
<p>除了页面功能，顶部构造也是这款主题的特点，大凡CMS主题，都需要这种头部来为整站导航。</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/english-lanuage/1126.html" target="_blank">http://themes.wopus.org/wpthemes/english-lanuage/1126.html</a></p>
<p><strong><span id="more-356"></span>二，Mixcss</strong><br />
<img title="mixcss" src="http://www.wopus.org/wp-content/uploads/wopus/2009/12/mixcss.jpg" alt="mixcss" width="630" height="430" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>通过这个主题是想告诉大家，这种也是CMS主题，不一定非要是图片+文字，布局均衡的才算CMS主题，这种纯图片的主题，也是CMS的主题，而且现在非常使用，很多人都在询问Wopus主题站的主题，其实，这款MIXCSS就是一款非常完美的图片主题。也许在2010年，我们能在国内看到很多这种网站出现。</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/cms/1190.html" target="_blank">http://themes.wopus.org/wpthemes/cms/1190.html</a></p>
<p><strong>三，Androida</strong><br />
<img title="androida" src="http://www.wopus.org/wp-content/uploads/wopus/2009/12/androida.jpg" alt="androida" width="637" height="490" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>一款典型的企业展模版，而且这模板有很强的通用性，几乎可以使用一切的企业站，当你还在苦苦寻找企业展模版的时候，这款是否值得考虑呢？</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/cms/1402.html" target="_blank">http://themes.wopus.org/wpthemes/cms/1402.html</a></p>
<p><strong>四，iBizPress Magazine</strong><br />
<img title="ibizpress " src="http://www.wopus.org/wp-content/uploads/wopus/2009/12/ibizpres.jpg" alt="ibizpress " width="630" height="407" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>如果你有疑问，为何推荐了第一款还要推荐这一款，Wopus需要说明的是，这款主题的特点是在页面的2/3一下，而且，使用图片，展示出来的效果，明显比文字更加有力度，一个CMS网站总是有几个子域名站点，合理的通过首页展示十分必要，这款主题提供了一个很好的灵感，一个很好的解决方法。</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/cms/1443.html" target="_blank">http://themes.wopus.org/wpthemes/cms/1443.html</a></p>
<p><strong>五，WPBoxedTech</strong><br />
<img title="boxedtech" src="http://www.wopus.org/wp-content/uploads/wopus/2009/12/boxedtech.jpg" alt="boxedtech" width="630" height="376" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>CMS主题，越来越多的承载着用户的行为，而CMS更多需要的理解是一种平台，一种交流和沟通的平台，这款主题有机的把用户，内容串联并展示出来，可以遇见，WordPress在未来会加强用户角色的管理，而2010的WordPressCMS模版趋势也许会更多的在乎用户行为的体现。</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/three-column/1487.html" target="_blank">http://themes.wopus.org/wpthemes/three-column/1487.html</a></p>
<p><strong>六，Magadine</strong><br />
<img title="magadine" src="http://www.wopus.org/wp-content/uploads/wopus/2009/12/magadine.jpg" alt="magadine" width="630" height="384" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>有人还记得<a href="http://idc.wopus.org" target="_blank">WopusIDC</a>的第一版吗？其实和这款真的很像，最关键的是，这种主题看似简单，却能完成我们对一个网站展示内容的要求，这个主题适合做什么类型的网站？如果这个问题不好回答，那下面这个问题会很容易回答。这个问题不适合做什么类型的网站？</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/cms/1539.html" target="_blank">http://themes.wopus.org/wpthemes/cms/1539.html</a></p>
<p><strong>七，simpleCart</strong><br />
<img title="simplecart" src="http://www.wopus.org/wp-content/uploads/wopus/2009/12/simplecart.jpg" alt="simplecart" width="630" height="287" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>没错，WordPress无所不能，这是一个完完全全的电子商务模版，对于WordPress，是只有想不到，没有做不到。</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/cms/1732.html" target="_blank">http://themes.wopus.org/wpthemes/cms/1732.html</a></p>
<p><strong>八，WPYOU</strong><br />
<img title="wpyou" src="http://www.wopus.org/wp-content/uploads/wopus/2009/12/wpyou.jpg" alt="wpyou" width="638" height="376" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>CMS主题中难得看到国人的，而且这款主题也比较符合国人对CMS的认知，页面布局清晰，色彩明朗。</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/cms/2019.html" target="_blank">http://themes.wopus.org/wpthemes/cms/2019.html</a></p>
<p><strong>九，Readers&#8217;Magazine</strong><br />
<img src="http://themes.wopus.org/wp-content/uploads/themes/2009/11/reader.jpg" alt="" /></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>一款非常优秀的WordPress CMS模版，两列导航，顶部一列可以放网站一些关联的链接，而下面的可以放分类，页面整体布局合理，色彩搭配完美，特别别顶部页面鼠标悬停效果非常绚丽，而且主题默认有同步显示服务器时间功能。主题内容板块定时轮换非常实用，侧边栏对应的鼠标点击切换搭配完美。</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/cms/2377.html" target="_blank">http://themes.wopus.org/wpthemes/cms/2377.html</a></p>
<p><strong>十，Vodpod</strong></p>
<p><strong>入选理由：</strong></p>
<blockquote><p>只因为这是款视频主题，而且是WordPress主题站到目前为止收集到的最好的WordPress视频主题。</p></blockquote>
<p><strong>主题详细信息：</strong><a href="http://themes.wopus.org/wpthemes/video-theme/2387.html" target="_blank">http://themes.wopus.org/wpthemes/video-theme/2387.html</a></p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/wordpress/new-wordpress-themes.html" title="新的主题上线">新的主题上线</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-theme-framework.html" title="Wordpress主题框架">Wordpress主题框架</a></li><li><a href="http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html" title="为Wordpress主题再加入一个样式表">为Wordpress主题再加入一个样式表</a></li><li><a href="http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html" title="WordPress主题中不使用插件就能实现的五个常用功能（转载）">WordPress主题中不使用插件就能实现的五个常用功能（转载）</a></li><li><a href="http://pengfubing.com/content/wordpress/why-i-use-wordpress-as-cms.html" title="我为什么用wordpress做CMS(转载)">我为什么用wordpress做CMS(转载)</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html" title="Wordpress CMS-Style Theme : iNews-v2">Wordpress CMS-Style Theme : iNews-v2</a></li><li><a href="http://pengfubing.com/content/wordpress/cms-bbtheme.html" title="CMS主题：BBtheme最终版">CMS主题：BBtheme最终版</a></li><li><a href="http://pengfubing.com/content/wordpress/wordprestheme.html" title="Wordpres主题">Wordpres主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-jquery-tabs.html" title="用WordPress内置jQuery制作Tabs滑动效果">用WordPress内置jQuery制作Tabs滑动效果</a></li><li><a href="http://pengfubing.com/content/wordpress/utf-8-without-bom.html" title="转换为UTF-8文件并去掉BOM">转换为UTF-8文件并去掉BOM</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress CMS-Style Theme : iNews-v2</title>
		<link>http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html</link>
		<comments>http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html#comments</comments>
		<pubDate>Thu, 17 Dec 2009 23:40:53 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=322</guid>
		<description><![CDATA[● 主题介绍： 主题：iNews-v2 作者：Dickey 版本：1.0 日期：2008-09-28 标签：CMS theme, Chinese theme, without plugins, Blue 主题演示 &#124; 主题下载 ● 使用须知：  1）顶部的多语言导航条：需手动编辑修改 language.js 文件 使用了谷歌翻译小工具，提取部分代码做成平板式语言导航条，并作了一定优化。其中有个参数是需要翻译哪个站？我在主题包中己暂用www.google.cn (翻译的是谷歌首页)，使用前请编辑修改language.js文件，把所有的www.google.cn批量替换成您自己的域名(只是域名)即可。 2）首页的幻灯片式图片变换：图片及链接是在slider.php文件中控制的 这是研究比较过多款幻灯片式图片变换效果后决定的，非使用Flash，非外部调用JS，比较集成化与简单易用，共有五张图片变换展示，使用时只需要编辑slider.php的第3至第7行，把其中的链接地址(默认是#)及图片地址改成您需要的相应地址即可，不需要改动其它地方。 3）首页调用了十二个分类：编辑index.php文件，手动设置各分类的ID 您使用时可看到（或看看演示站）首页共调用显示了十二个分类，其中穿插了四个小横幅图片，所以它们被分割为六个区域，每区域各显示两个分类，也就是index.php文件中的array(1,1)，本主题中默认都是”1″，全部代表 id=1 的分类，根据喜好与需要，把12个数值改成不同分类的id。 另外，如果您不需要那四个小横幅，可以把代码改得更精简，可删掉两堆代码，由六处array(1,1)变为两处array(1,1,1,1,1,1)，即是左右各显示六个分类。（如果不熟悉，修改前建议备份一下） ● 使用细节： 1）本主题左中右的布局参考了雅虎搜索结果页面，小小的左侧边栏很适用； 本主题中的蓝色颜色参考了WordPress官方的部分颜色，如果不喜欢，请自行修改之； 2）导航栏默认显示的是全部分类，如果现有分类数量太多，可设置为显示部分分类； 可通过对 wp_list_categories 增加参数 include 或 exclude 来进行控制。 3）底部导航栏默认显示的是全部”页面”（Page），若修改，请编辑 footer.php 文件。 ● 功能扩展： 使用本主题后，您可能会发觉侧边栏“热门标签排行榜”的效果与演示站的有些不同，对此另有专门介绍，请看《轻松打造 WordPress 标签排行榜》 ● 管理广告位 为了便于管理广告代码，所有广告位都是通过载入对应的文件来实现的， 修改某处广告位的内容，请用广告代码完全替换掉对应的广告位文件的内容。 ^_^ 如果您使用时并未把它改得面目全非，敬请保留 “Theme [...]]]></description>
			<content:encoded><![CDATA[<h1><img class="alignleft" title="screenshot-thumb1" src="http://atani.org/blog/wp-content/uploads/2009/02/screenshot-thumb1.png" alt="screenshot-thumb1" width="220" height="173" /></h1>
<h1><span style="font-size: x-small;">● 主题介绍：</span></h1>
<div>
<p>主题：<a href="http://dickeydong.cn/inews-v2.html" target="_blank"><span style="color: #000000;">iNews-v2</span></a> 作者：<a href="http://dickeydong.cn/" target="_blank"><span style="color: #000000;">Dickey</span></a> 版本：1.0 日期：2008-09-28<br />
标签：CMS theme, Chinese theme, without plugins, Blue<br />
<a href="http://yuming.hangyexinwen.com/" target="_blank"><span style="color: #000000;">主题演示</span></a> | <a href="http://dickeydong.cn/uploads/inewsv2.zip" target="_blank"><span style="color: #000000;">主题下载</span></a></p>
<h3>● 使用须知：<span id="more-285"> </span></h3>
<p>1）<span style="color: #ff0000;">顶部的多语言导航条：需手动编辑修改 language.js 文件</span><br />
使用了谷歌翻译小工具，提取部分代码做成平板式语言导航条，并作了一定优化。其中有个参数是需要翻译哪个站？我在主题包中己暂用www.google.cn (翻译的是谷歌首页)，使用前请编辑修改language.js文件，把所有的www.google.cn批量替换成您自己的域名(只是域名)即可。</p>
<p>2）<span style="color: #ff0000;">首页的幻灯片式图片变换：图片及链接是在slider.php文件中控制的</span><br />
这是研究比较过多款幻灯片式图片变换效果后决定的，非使用Flash，非外部调用JS，比较集成化与简单易用，共有五张图片变换展示，使用时只需要编辑slider.php的第3至第7行，把其中的链接地址(默认是#)及图片地址改成您需要的相应地址即可，不需要改动其它地方。<span id="more-322"></span></p>
<p>3）<span style="color: #ff0000;">首页调用了十二个分类：编辑index.php文件，手动设置各分类的ID<br />
</span>您使用时可看到（或看看演示站）首页共调用显示了十二个分类，其中穿插了四个小横幅图片，所以它们被分割为<span style="color: #ff0000;">六个区域</span>，每区域<span style="color: #ff0000;">各显示两个分类</span>，也就是index.php文件中的<span style="color: #ff0000;">array(1,1)</span>，本主题中默认都是”1″，全部代表 id=1 的分类，根据喜好与需要，把12个数值改成不同分类的id。<br />
另外，如果您不需要那四个小横幅，可以把代码改得更精简，可删掉两堆代码，由六处array(1,1)变为两处array(1,1,1,1,1,1)，即是左右各显示六个分类。（如果不熟悉，修改前建议备份一下）</p>
<h3>● 使用细节：</h3>
<p>1）本主题左中右的布局参考了雅虎<a href="http://one.cn.yahoo.com/s?p=dickey&amp;pid=hp&amp;v=web" target="_blank"><span style="color: #000000;">搜索结果</span></a>页面，小小的左侧边栏很适用；<br />
本主题中的蓝色颜色参考了<a href="http://wordpress.org/" target="_blank"><span style="color: #000000;">WordPress</span></a>官方的部分颜色，如果不喜欢，请自行修改之；</p>
<p>2）导航栏默认显示的是全部分类，如果现有分类数量太多，可设置为显示部分分类；<br />
可通过对 wp_list_categories 增加参数 include 或 exclude 来进行控制。</p>
<p>3）底部导航栏默认显示的是全部”页面”（Page），若修改，请编辑 footer.php 文件。</p>
<h3>● 功能扩展：</h3>
<p>使用本主题后，您可能会发觉侧边栏“热门标签排行榜”的效果与演示站的有些不同，对此另有专门介绍，请看《<a href="http://dickeydong.cn/wp-tag-cloud.html" target="_blank"><span style="color: #000000;">轻松打造 WordPress 标签排行榜</span></a>》</p>
<h3>● 管理广告位</h3>
<p>为了便于管理广告代码，所有广告位都是通过载入对应的文件来实现的，<br />
修改某处广告位的内容，请用广告代码完全替换掉对应的广告位文件的内容。</p>
<p>^_^ 如果您使用时并未把它改得面目全非，敬请保留 “Theme <a title="WordPress CMS Theme iNews-v2" href="http://dickeydong.cn/inews-v2.html" target="_blank"><span style="color: #000000;">iNews-v2</span></a> by <a title="Dickey's BLog" href="http://dickeydong.cn/" target="_blank"><span style="color: #000000;">Dickey</span></a>“，</p>
<p>原文链接：<a href="http://dickeydong.cn/inews-v2.html"><span style="color: #000000;">http://dickeydong.cn/inews-v2.html</span></a></div>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/wordpress/new-wordpress-themes.html" title="新的主题上线">新的主题上线</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-theme-framework.html" title="Wordpress主题框架">Wordpress主题框架</a></li><li><a href="http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html" title="为Wordpress主题再加入一个样式表">为Wordpress主题再加入一个样式表</a></li><li><a href="http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html" title="WordPress主题中不使用插件就能实现的五个常用功能（转载）">WordPress主题中不使用插件就能实现的五个常用功能（转载）</a></li><li><a href="http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html" title="2009年十大WordPress CMS主题">2009年十大WordPress CMS主题</a></li><li><a href="http://pengfubing.com/content/wordpress/cms-bbtheme.html" title="CMS主题：BBtheme最终版">CMS主题：BBtheme最终版</a></li><li><a href="http://pengfubing.com/content/wordpress/wordprestheme.html" title="Wordpres主题">Wordpres主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-jquery-tabs.html" title="用WordPress内置jQuery制作Tabs滑动效果">用WordPress内置jQuery制作Tabs滑动效果</a></li><li><a href="http://pengfubing.com/content/wordpress/utf-8-without-bom.html" title="转换为UTF-8文件并去掉BOM">转换为UTF-8文件并去掉BOM</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-register-without-email-notification.html" title="Wordpress注册新用户直接显示密码毋须邮件发送">Wordpress注册新用户直接显示密码毋须邮件发送</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMS主题：BBtheme最终版</title>
		<link>http://pengfubing.com/content/wordpress/cms-bbtheme.html</link>
		<comments>http://pengfubing.com/content/wordpress/cms-bbtheme.html#comments</comments>
		<pubDate>Thu, 17 Dec 2009 23:37:57 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=319</guid>
		<description><![CDATA[今天介绍的是一个非常棒的CMS主题：BBtheme最终版。 较之之前的版本主要修改完善的地方包括： 1，解决随机文章显示问题，不再导致文章评论的随机； 2，首页分类文章列表添加日期功能；  3，文章作者添加链接，满足多用户博客需求，点击文章作者，进入该作者的所有文章列表页面； 4，修改了部分样式的浏览器兼容性问题； 5，进一步对部分背景图片作了美化。 主题预览   主题下载 相关文章新的主题上线Wordpress主题框架为Wordpress主题再加入一个样式表WordPress主题中不使用插件就能实现的五个常用功能（转载）2009年十大WordPress CMS主题Wordpress CMS-Style Theme : iNews-v2Wordpres主题用WordPress内置jQuery制作Tabs滑动效果转换为UTF-8文件并去掉BOMWordpress注册新用户直接显示密码毋须邮件发送]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="bbtheme" src="http://atani.org/blog/wp-content/uploads/2009/02/bbtheme.jpg" alt="" width="272" height="205" />今天介绍的是一个非常棒的CMS主题：<a href="http://atani.org/2009/01/06/bbtheme-cms-beta3.html" target="_blank"><span style="color: #3491c6;">BBtheme</span></a>最终版。</p>
<p>较之之前的版本主要修改完善的地方包括：</p>
<p>1，<strong>解决随机文章显示问题</strong>，不再导致文章评论的随机；</p>
<p>2，首页分类文章列表添加日期功能；<span id="more-288"> </span></p>
<p>3，<strong>文章作者添加链接</strong>，满足多用户博客需求，点击文章作者，进入该作者的所有文章列表页面；</p>
<p>4，修改了部分样式的浏览器兼容性问题；</p>
<p>5，进一步对部分背景图片作了美化。</p>
<p><a href="http://www.bbon.cn/2008/12/wordpress-bbtheme-cms.html/" onfocus="undefined"></a></p>
<p><a href="http://www.blogyou.net/" target="_blank"><span style="color: #3491c6;">主题预览</span></a>   <a href="http://www.bbon.cn/wp-content/uploads/works/wordpress-theme/WordPress-BBtheme-CMS.rar" target="_blank"><span style="color: #3491c6;">主题下载</span></a></p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/wordpress/new-wordpress-themes.html" title="新的主题上线">新的主题上线</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-theme-framework.html" title="Wordpress主题框架">Wordpress主题框架</a></li><li><a href="http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html" title="为Wordpress主题再加入一个样式表">为Wordpress主题再加入一个样式表</a></li><li><a href="http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html" title="WordPress主题中不使用插件就能实现的五个常用功能（转载）">WordPress主题中不使用插件就能实现的五个常用功能（转载）</a></li><li><a href="http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html" title="2009年十大WordPress CMS主题">2009年十大WordPress CMS主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html" title="Wordpress CMS-Style Theme : iNews-v2">Wordpress CMS-Style Theme : iNews-v2</a></li><li><a href="http://pengfubing.com/content/wordpress/wordprestheme.html" title="Wordpres主题">Wordpres主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-jquery-tabs.html" title="用WordPress内置jQuery制作Tabs滑动效果">用WordPress内置jQuery制作Tabs滑动效果</a></li><li><a href="http://pengfubing.com/content/wordpress/utf-8-without-bom.html" title="转换为UTF-8文件并去掉BOM">转换为UTF-8文件并去掉BOM</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-register-without-email-notification.html" title="Wordpress注册新用户直接显示密码毋须邮件发送">Wordpress注册新用户直接显示密码毋须邮件发送</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/cms-bbtheme.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpres主题</title>
		<link>http://pengfubing.com/content/wordpress/wordprestheme.html</link>
		<comments>http://pengfubing.com/content/wordpress/wordprestheme.html#comments</comments>
		<pubDate>Fri, 13 Nov 2009 07:29:48 +0000</pubDate>
		<dc:creator>Welkin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[prower]]></category>
		<category><![CDATA[主题]]></category>
		<category><![CDATA[博客]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://pengfubing.com/?p=119</guid>
		<description><![CDATA[一直很喜欢Power系列主题，上个月Prower V3发布了，但是我感觉没有V2好看，所以一直没有采用，今天将其改为V3.1版本，发现还是很端庄的一个主题，很适合我的这个专业技术博客的风格，遂采用之。在此感谢Power提供的主题。 算算我接触过的wordpress主题有如下几个： 最早建站想用WordPress建CMS站，采用了有见地工作室的仿dedeCMS系列主题，很不错的说。后来我们干脆就用dedecms建站了。 然后帮我儿子建blog采用了Tony的主题，现在一直在用。 后来自己的博客就一直采用Power的主题了，直到现在这个新域名采用的Power V3.1。 相关文章折腾死了新的主题上线Wordpress主题框架为Wordpress主题再加入一个样式表WordPress主题中不使用插件就能实现的五个常用功能（转载）2009年十大WordPress CMS主题Wordpress CMS-Style Theme : iNews-v2CMS主题：BBtheme最终版用WordPress内置jQuery制作Tabs滑动效果转换为UTF-8文件并去掉BOM]]></description>
			<content:encoded><![CDATA[<p>一直很喜欢<a href="http://prower.cn">Power</a>系列主题，上个月<a href="http://prower.cn">Prower</a> V3发布了，但是我感觉没有V2好看，所以一直没有采用，今天将其改为V3.1版本，发现还是很端庄的一个主题，很适合我的这个专业技术博客的风格，遂采用之。在此感谢<a href="http://prower.cn">Power</a>提供的主题。</p>
<p>算算我接触过的wordpress主题有如下几个：</p>
<p>最早建站想用WordPress建CMS站，采用了<a href="http://youjiandi.com">有见地工作室</a>的仿dedeCMS系列主题，很不错的说。后来我们干脆就用dedecms建站了。</p>
<p>然后帮我<a href="http://haoyunet.com">儿子</a>建blog采用了<a href="http://uitony.com">Tony</a>的主题，现在一直在用。</p>
<p>后来自己的博客就一直采用<a href="http://prower.cn">Power</a>的主题了，直到现在这个新域名采用的<a href="http://power.cn">Power</a> V3.1。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://pengfubing.com/content/life/%e6%8a%98%e8%85%be%e6%ad%bb%e4%ba%86.html" title="折腾死了">折腾死了</a></li><li><a href="http://pengfubing.com/content/wordpress/new-wordpress-themes.html" title="新的主题上线">新的主题上线</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-theme-framework.html" title="Wordpress主题框架">Wordpress主题框架</a></li><li><a href="http://pengfubing.com/content/wordpress/integrating-alternative-stylesheets.html" title="为Wordpress主题再加入一个样式表">为Wordpress主题再加入一个样式表</a></li><li><a href="http://pengfubing.com/content/wordpress/5-basic-function-in-wordpress-theme-without-using-plugins.html" title="WordPress主题中不使用插件就能实现的五个常用功能（转载）">WordPress主题中不使用插件就能实现的五个常用功能（转载）</a></li><li><a href="http://pengfubing.com/content/wordpress/2009%e5%b9%b4%e5%8d%81%e5%a4%a7wordpress-cms%e4%b8%bb%e9%a2%98.html" title="2009年十大WordPress CMS主题">2009年十大WordPress CMS主题</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-cms-style-theme-inews-v2.html" title="Wordpress CMS-Style Theme : iNews-v2">Wordpress CMS-Style Theme : iNews-v2</a></li><li><a href="http://pengfubing.com/content/wordpress/cms-bbtheme.html" title="CMS主题：BBtheme最终版">CMS主题：BBtheme最终版</a></li><li><a href="http://pengfubing.com/content/wordpress/wordpress-jquery-tabs.html" title="用WordPress内置jQuery制作Tabs滑动效果">用WordPress内置jQuery制作Tabs滑动效果</a></li><li><a href="http://pengfubing.com/content/wordpress/utf-8-without-bom.html" title="转换为UTF-8文件并去掉BOM">转换为UTF-8文件并去掉BOM</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://pengfubing.com/content/wordpress/wordprestheme.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
