WordPress 全面ajax插件: AJAXed
译者:eric.wang 转貼请注明出处:http://ericbess.com 原文:http://anthologyoi.com/awp/ajaxd-wordpress-readme
全面AJAX WordPress套件: WP AJAXed [load]
基本说明
安装AWP
- 下载AWP。
- 解压,并上传AWP到你的wordpress插件文件夹( / wp-content/plugins / )。
- 启动插件。
- 如果你正在使用的WordPress 2.1 ,并计划使用jquery.js您必须下载jquery.js上传jquery.js档案到wp-includes/js文件夹。
展示内嵌页
进入presentation管理面板,确保“Inline Posts”是active的,进入“POST”标签。勾选“Simple Posts”,Save。
要显示内嵌评论
打开你的主题的index.php (也可能是page,single)
更换: <?php comments_template(); ?> 用:
<?php do_action('awp_commentform_link');?> (留言框)
<?php do_action('awp_commentform'); ?>
<?php do_action('awp_comments_link');?> (留言内容)
<?php do_action('awp_comments'); ?>
页内嵌套
用标记<!–embed=XXX–> XXX是要嵌套的日志ID .
高阶
待续..
| -欢迎为本文评级 |
No donations within the last 180 days.Who make donation will leave message at here.Donate Now.
This a wordpress plugin Wp-Donators.It provides a smart donation function to autoleave the sponsor information in this container after payment. People can donate and submit name/URL or TextLink AD. The information of the latest donors are displayed in the cloud. The more a person donates, the bigger their link will be.It's will support most popular payment interface in future. ParPal Just the first one. More..
Powered By:WP-DONATORS
相关日志 |
本文读者也关心以下内容:
|
















































我试下先
Reply是不是这里的评论效果就是ajax啊?
Reply