Extended Live Archive Plugin 使用方法详解
- Wednesday, July 5, 2006, 13:35
- Web Design, Wordpress
- 1,786 views
- Add a comment
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/
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!

