5个简单的步骤把 Wordpress 打造成 CMS
April 29th, 2007 at 01:43am 雪山飞猪 浏览: 5,132
把 WordPress 作为 CMS 来使用在2.1版本变得更加容易,只需5个简单的步骤并且不需去修改复杂的代码就能实现。
- 创建一个页面并命名为 home 作为开始页面,并给其 page order(页面顺序)为0。
- 创建一个空的页面并命名为 weblog 并给其 page order(页面顺序) 为99。
- 在管理界面,选择 option(选项) > reading(阅读),将上面创建的 home 作为 front page(开始页) 和 weblog 作为 posts page(文章列表页面)。
- 通过这个函数 wp_list_pages(’sort_column=menu_order&title_li=’) 创建网站菜单。
- 使用一个插件使得页面也能够被搜索(可选)。
可以选用 Search Everything 这个插件(译者著)。
当为你的 CMS 创建页面的时候,确定页面顺序必须在0和99之间。这样的话,菜单中的第一个就是 home,最后的是 weblog,当然你可以根据你自己的需求更改。
本文翻译自:Bos89.nl 的 Wordpress as CMS in five steps
个人觉的他把 WordPress as CMS 说的比较清晰明了,大家可以根据他的提供的简单步骤进行扩展。
作者:雪山飞猪
原文链接:5个简单的步骤把 Wordpress 打造成 CMS
我爱水煮鱼版权所有,转载时必须以链接形式注明作者和原始出处及本声明。
相关日志
10 条评论 添加你的评论
Trackbacks / Pingbacks
- BloggingPro China » 5个简单的步骤把 Wordpress 打造成 CMS
- 5个简单的步骤把 Wordpress 打造成 CMS, 并非如此简单 at Cocoatacious







1. MetalDudu | April 30th, 2007 at 10:12 am
2.1的wordpress可以定义开始页,这个功能很方便。我在
http://www.tuzigo.com/ 就是这样做的。
[回复该留言]
2. 雪山飞猪 | April 30th, 2007 at 10:32 am
看不了你的blog,该页无法打开。
[回复该留言]
3. cool | May 4th, 2007 at 2:42 am
cool… 5 step success…
[回复该留言]
4. Sherlock Asimov | May 8th, 2007 at 8:43 pm
How to get this to work with Dark theme?!
Cause, by following the steps, I get duplicate Home, and the Blog & the two Home are all the same blog index page.
Thank you very much?
[回复该留言]
5. 雪山飞猪 | May 8th, 2007 at 9:07 pm
Hi Sherlock, Thanks for your comment.
I havn’t use Dark Theme, can you tell me the download address of Dark theme, Maybe I will test it for you.
[回复该留言]
6. Sherlock Asimov | May 9th, 2007 at 9:33 am
Dark Theme
[回复该留言]
7. 雪山飞猪 | May 10th, 2007 at 4:02 pm
Please refer the DARK theme test result in http://rss.fairyfish.com/
[回复该留言]
8. lenloon | January 22nd, 2008 at 1:03 pm
我没学过PHP+MYSQL,所以直接在HEADER代码里把导航栏写成固定的,指向某个POST
[回复该留言]