Home > WordPress > WP Plugin > 插件发布: AJAX Comment Pager

插件发布: AJAX Comment Pager

November 28th, 2008 Leave a comment Go to comments

插件简介:
为 WordPress 2.7 的评论分页功能增加 AJAX 处理. 不依赖任何 JavaScript 框架.

适用版本:
WordPress 2.7 或以上

插件下载: Download

安装方法:
1. 将压缩包解压到 /wp-content/plugins/ 目录中.
2. 到 WordPress 后台的 Plugins 页面激活该插件.
3. 在 comments.php 文件中将 <span id="cp_post_id"><?php echo $post->ID; ?></span> 追加到 <?php paginate_comments_links(); ?> 的后面.
4. 到 WordPress 后台的 Settings -> AJAX Comment Pager 页面, 输入相关信息和保存设置.

备注信息:
若您要使用该才插件, 请确保满足以下条件:
1. 您正在使用 WordPress 2.7 或以上版本. (包括 beta 测试版)
2. 您正在使用的主题定义了自定义的评论显示方法. (基本上支持嵌套回复的都会定义该方法)

声明: 本站遵循 署名-非商业性使用-相同方式共享 3.0 共享协议. 转载请注明转自 NeoEase
  1. May 2nd, 2009 at 11:23 | #151

    相当的奇怪,安装后,有的文字有效果有的文章没效果。

    跟缓存有关系吗?

  2. May 2nd, 2009 at 12:43 | #152

    @itlobo
    因为调用了主题的方法, 但是插件中不能对主题的内容进行本地化处理.

    @humbass
    就凭这么一句话, 我无法进行判断.

  3. CK
    May 5th, 2009 at 00:23 | #153

    i have a problem with the counter of the comments.
    The first comment on every commentpage begins with #1 again ...

  4. May 5th, 2009 at 13:12 | #154

    来学习下,看看效果

  5. May 5th, 2009 at 14:02 | #155

    @CK
    I know this problem, but I have no idea right now. :|

  6. May 11th, 2009 at 06:15 | #156

    hi there, does this plugin works with your theme elegant-box? I can't manage make it work...any clues?

  7. May 11th, 2009 at 09:57 | #157

    Yeah, Elegant Box theme can support this plugin, but you have to modify comments.php file.
    please add %lt;span id="cp_post_id">%lt;?php echo $post->ID; ?>%lt;/span> next to paginate_comments_links();

  8. May 11th, 2009 at 16:03 | #158

    nice stuff you have here..

  9. May 15th, 2009 at 02:42 | #159

    hi i cant seem to find ID; ?> in my comments.php file. I'm using inove theme also.
    please help.thanks

  10. Naheim
    May 19th, 2009 at 04:00 | #160

    @youliang
    Yeah! ² :neutral:

  11. May 25th, 2009 at 18:35 | #161

    @xiaorsz
    我也没有~~~

  12. HelloKitty
    May 29th, 2009 at 21:32 | #162

    装好了~~

  13. May 31st, 2009 at 23:46 | #163

    试用中 谢谢

  14. June 2nd, 2009 at 18:52 | #164

    @mg12
    how can i set set the 'Paged comments' enabled?

    i have problem demo : http://www.ersinolmez.com/vistada-mavi-ekran.html

    my comments.php in area.;

    ID; ?>

  15. June 5th, 2009 at 14:46 | #165

    @Ersin OLMEZ
    can you help me ?

  16. June 6th, 2009 at 13:47 | #166

    这个插件在你的iNove主题上能用嘛?

    我在comments.php里面只找到 $comment_pages = paginate_comments_links('echo=0');

    没找到 。。。。

  17. kamon
    June 7th, 2009 at 04:50 | #167

    testing

  18. June 7th, 2009 at 12:24 | #168

    @Hexic.CN
    iNove 主题默认支持, 不要加代码, 改后台设置就可以了.

  19. June 8th, 2009 at 14:53 | #169

    i can't enable this plugin :'(

  20. Ming
    June 21st, 2009 at 13:44 | #170

    Hi, I am using "Digital Statement" right now. I do not know where to put ID; ?> . Could you help me? Thank you so much.

  21. June 22nd, 2009 at 11:26 | #171

    @Ersin OLMEZ
    What's happened? Could you show me the error message?

    @Ming
    What's the 'Digital Statement'? Which theme do you use?

  22. Ming
    June 22nd, 2009 at 11:27 | #172

    http://www.blogohblog.com/wordpress-theme-digital-statement/
    This is what I am using now, I do not how to use your plugin into this theme. Could you help me? Thank you a lot.

  23. June 22nd, 2009 at 11:48 | #173

    @Ming
    1. Is it support WordPress 2.7 or higher version?
    2. Is it use custom comment layout and use custom comment callback function?
    If the 2 question is TRUE, then you can use this plugin in this plugin.

  24. June 23rd, 2009 at 17:51 | #174

    不知道是否支持WP2.8啊,我装了可是不管用,不知道在INOVE里设置是否正确?

    评论列表ID:thecomments

    回调函数名:custom_comments

    类型:全部

  25. June 23rd, 2009 at 19:13 | #175

    @mg12

    hi friend, i can't see error, but my comment is'nt paging.

    can you see it: http://www.ersinolmez.com.tr/forumfatih-ve-facebooka-suc-duyurusu.html

    it'sn not paging..

  26. June 24th, 2009 at 12:31 | #176

    收藏了,正在试试怎么用

  27. July 1st, 2009 at 10:02 | #177

    @free
    我的iNove起作用了,不过网页总是有报错,禁用就正常,郁闷的 :cry:

Comment pages
1 2 3 4 797
  1. December 4th, 2008 at 16:45 | #1
  2. December 4th, 2008 at 22:07 | #2
  3. December 13th, 2008 at 23:41 | #3
  4. December 14th, 2008 at 09:45 | #4
  5. January 12th, 2009 at 02:12 | #5
  6. April 7th, 2009 at 16:21 | #6
  7. April 30th, 2009 at 02:11 | #7
  8. June 18th, 2009 at 22:24 | #8