WordPress的界面转换   Comments --- l.a.i.

WordPress 1.5 升级的一个好处是对于博客网的界面形象转换的便利. 它新的模式设计另人耳目一新. 所有可变换的模式存储在wp-content/themes 的子目录底下, 并可用管理界面直接调换. 如果你有一个旧的界面想转化成标准模式, 请注意以下几点:
1. Create a directory in wp-content/themes such as wp-content/themes/mytheme/, all lowercase and one word. (One may have already been created for you during the upgrade process.)
2. Put your old index.php in the theme directory you just created and open it up to edit
3. Delete the wp-blog-header.php line at the top that says not to delete :)
4. Replace the following line: (or a similar CSS link)
< ?php echo get_settings('siteurl'); ?>/wp-layout.css
With this:
< ?php bloginfo('stylesheet_url'); ?>
5. Replace this:
< ?php include(ABSPATH . 'wp-comments.php'); ?>
With this:
< ?php comments_template(); ?>
6. Copy your old stylesheet to your theme directory and name it style.css
7. Open style.css and add the following header (copy and paste this and then customize it):

/*
Theme Name: My Hawt Blog
Theme URI: http://example.com/
Description: Best theme EVAR
Version: 1.0
Author: Me
Author URI: http://example.com/
*/

8. Go to the Presentation tab of the admin interface and activate your theme.
请参阅WordPress的升级说明书.


You can leave a response, or trackback from your own site.

 

Google 和 Blogger   Comments --- l.a.i.


You can leave a response, or trackback from your own site.

 

Blog Using WordPress   Comments --- l.a.i.


You can leave a response, or trackback from your own site.

 

WordPress Categories Hierarchical Indent Display   Comments --- l.a.i.


You can leave a response, or trackback from your own site.

 

我的小背包   Comments --- tripelaine


You can leave a response, or trackback from your own site.