Apraksts
AJAX paging plugin for comment pages in WordPress 2.7 or higher versions.
为 WordPress 2.7 的评论分页功能增加 AJAX 处理.
Features:
- AJAX comment paging
- Without any JavaScript framework
Demo:
http://www.neoease.com/themes/
Supported Languages:
- US English/en_US (default)
- 简体中文/zh_CN (translate by mg12)
Uzstādīšana
The following things are required:
- Your WordPress is 2.7 or higher version. (include beta versions)
- The CUSTOM CALLBACK method has been declared. (Your theme is ready for WordPress 2.7)
Just follow there simple steps to install this plugin:
- Unzip archive to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the ‘Plugins’ tab in WordPress.
- Append
<span id="cp_post_id"><?php echo $post->ID; ?></span>
to<?php paginate_comments_links(); ?>
in ‘comment.php’ file. - Goto ‘Settings -> AJAX Comment Pager’, input and save changes.
Custom CSS:
- This plugin will load ‘ajax-comment-pager.css’ from your theme directory if it exists.
- If it doesn’t exists, it will load the default style that comes with this plugin.
若您要使用该才插件, 请确保满足以下条件:
- 您正在使用 WordPress 2.7 或以上版本. (包括 beta 测试版)
- 您正在使用的主题定义了自定义的评论显示方法. (基本上支持嵌套回复的都会定义该方法)
您只需以下简单的几个步骤, 就能将插件安装好:
- 将压缩包解压到 “/wp-content/plugins/” 目录中.
- 到 WordPress 后台的 “Plugins” 页面激活该插件.
- 在 “comments.php” 文件中将 “<span id=”cp_post_id”><?php echo $post->ID; ?></span>” 追加到 “<?php paginate_comments_links(); ?>” 的后面.
- 到 WordPress 后台的 “Settings -> AJAX Comment Pager” 页面, 输入相关信息和保存设置.
自定义样式文件
- 如果主题目录下存在命名为 “ajax-comment-pager.css” 的文件, 插件会它将作为样式文件加载到页面.
- 如果该文件不存在, 主题会将插件自带的作为默认的样式文件, 并加载到页面
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“AJAX Comment Pager” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “AJAX Comment Pager” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
VERSION DATE TYPE CHANGES
1.0.1 2008/11/28 NEW Added Simplified Chinese language support.
1.0 2008/11/25 NEW Create this plugin.