Extended Live Archive Plugin 使用方法详解

Extended Live Archive Plugin (ELA)是archives的增强插件,可以按日期,分类,标签来显示

archives。采用了AJAX技术。最新版本是:0.10beta R18。

效果如下:


我的实际演示地址:http://blog.manboo.info/archives/

首先从Extended Live Archive Plugin 这里下载最新版,解压上传到plugin目录,到WP后台激活这

个插件。

然后,我们新建一个PHP文件,比如mypage.php,这个名字随便取的,

在文件开头加上这句话:意思就是新建一个叫My Archives Template的page模板。

<?php
/*
Template Name: My Archives Template
*/
?>

在这句话后面合适的地方加上:

<?php if (function_exists('af_ela_super_archive')) {
af_ela_super_archive();
} ?>

具体在什么地方加这句话,可以参考所使用的themes目录下的page.php文件。

然后将这个文件上传到themes目录下。

到WP后台新建一个page,注意这时模板要选择刚刚新建的My Archives Template,

Title可以写 archives,不用加任何内容,保存即可。

这样,访问的地址就是:http://yourblogsite/archives/


Technorati :
Del.icio.us :
Ice Rocket :

Popularity: 22% [?]

No tag for this post.

Related posts

Make Money

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2009 时光漫步. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.