Keyvan Minoukadeh

WordPress Paged Comments Plugin

Filed under: General — Keyvan @ 12:24 am

Paged Comments is a plugin for WordPress to allow comment paging. Useful for those popular blog entries receiving many comments, or a simple guestbook page within WordPress.

Features

  • Comment ordering: show latest comments first, or last
  • Specify number of comments to display per page
  • Enable paging for all posts and pages, or on a per-post basis
  • Give users the choice to view all comments on one page with a ’show all’ link
  • Specify the first or last page of comments to load by default
  • See paged-comments-config-sample.php for more

Download — Latest Version

Related Downloads

Installation for WordPress 2.5

If you’re upgrading from a previous version, skip these installation steps and read the upgrade steps.

  1. Download and extract plugin files to a folder locally.
  2. Read through and edit paged-comments-config-sample.php to configure, then save the file as paged-comments-config.php.
  3. Upload the whole paged-comments directory to /wp-content/plugins/. The plugin files should now be in /wp-content/plugins/paged-comments/.
  4. Enable the plugin through the WordPress admin interface. That’s it!

Optional Steps

  • To customise the template to work better with your theme: Open the plugin’s themes folder and find the subfolder corresponding to the WordPress theme you’d like paged comments enabled on (or if your theme isn’t listed, choose the ‘default’ folder). Upload comments-paged.php to the appropriate WordPress theme folder (found in [wordpress]/wp-content/themes/).

    For example, if you’re using the default WordPress theme, copy [paged-comments-plugin]/themes/default/comments-paged.php to [wordpress]/wp-content/themes/default/. (The plugin always tries to load comments-paged.php from your active theme folder first.)

    Make any modifications to comments-paged.php. The file is based on the comments.php file, so if your theme is very different it might be easier to copy in the necessary elements from paged-comments.php. View the diff report to see what you need to change.

Examples of Use

The comments on this page are handled by the plugin, but it’s also used by the following sites:

Questions?

Donate

I work on this plugin in my spare time. If you find it useful, please consider donating to help me continue work on the plugin. (This plugin is, and will remain, free software, please only donate if you want to.)

This month I’ve received £0 ($0/€0) :(

Paid Support

If you run a commercial site and you’re having difficulty setting up paged comments, I now offer paid support. Feel free to get in touch: keyvan (at) k1m.com

697 Responses to “WordPress Paged Comments Plugin”

Pages: « 7015 14 13 12 11 [10] 9 8 7 6 51 » Show All

  • 100
    tanster

    Wow, thanks Kevan for the quick reply! I look forward to seeing your next version.

    :) tanster

  • 99
    Keyvan

    Tanster, you’re not doing anything wrong. I think you’ve identified a bug in the code. Expect a fix tomorrow. I don’t think I updated the numbering procedure when I introduced the fill_last_page feature. Thanks for flagging this up and including a detailed report.

  • 98
    tanster

    Hi Keyvan,

    Thanks for a great plugin!

    Have a question: my comment numbering is not correct when I use ordering = DESC + fill_last_page = true.

    Here’s what I have:
    • A post with 12 comments
    • Config settings:
    all_posts = true
    per_page = 10
    ordering = desc
    page_range = 5
    fancy_url = false
    show_all_option = true
    fill_last_page = true
    • WordPress 2.0 + Default Theme + unchanged Default comments-paged.php + no fancy permalinks

    What I see:
    • Comments page 2 is INCORRECT: Newest comment is numbered “20”, with comments that appear below it on the same page numbered 19-11 (newest comment should be numbered “12”, with comments that appear below it on same page numbered 11-3)
    • Comments page 1 is CORRECT: Top comment numbered “2”, next comment numbered “1”

    If I change fill_last_page = false, then everything works correctly:
    • Comments page 2: Top (newest) comment numbered “12”, with comment that appears below it numbered “11”.
    • Comments page 1: Comments numbered “10” through 1” from top to bottom.

    What am I doing wrong? This also happens with the unchanged Classic comments-paged.php template.

    Thank you!
    :) tanster

  • 97
    082net

    I’m pleased to see the link included on this page.
    I never thought that :)

    Thanks for those good words to my work.
    (Is this right expression?…I hope)

  • 96
    Keyvan

    Hi 082net, thanks for the work—it looks very good. I’ve included a link in the related downloads section above. I still haven’t got round to installing Trustin’s plugin, but when I do, I’ll try this as well.

  • 95
    082net

    Hi Keyvan,

    First of all, thanks for your great work. I’m so appreciated.
    I made a modified version of ‘Threaded and Paged Comments(by Trustin)’ plugin, and named it ‘tp-guestbook’.

    It’s based on ‘Paged comments(Yours)’ and ‘Brian’s Threaded Comments’.

    I tried to send a trackback, but my post is in ‘korean’(I’m not so good at english) :(

    You can check it Here

  • 94
    Keyvan

    Guig, I’m afraid I don’t know. I’ve never tried popup comments. I’ll look into it when I get a chance.

  • 93
    Guig

    Hi, I was wondering how to apply this plugin to popup comments.

  • 92
    Keyvan

    Vinu: I don’t have the theme packaged up, and never intended to distribute it, but feel free to use the CSS if it’s for non-commercial use.

    Extra fields I think are best left to another plugin.

    Kenny: Thanks for the comment. I’m not too fond of Ajax myself. The non-Ajax version will remain and if/when I get time to integrate an Ajax mode, it will fall back to non-Ajax mode when an unsupported browser is encountered. And, of course, there’ll be an option to disable Ajax completely.

    The Ajax version will also only be compatible with WordPress 2. I haven’t looked into WP2 much, but as far as I know it comes bundled with Javascript libraries that plugins can make use of. If that’s the case, it’ll save me having to supply JS files and saves users time if the WP2 JS files are being shared (and loaded only once).

    I’ve not had much time lately to work on the Ajax version, so I don’t think I’ll have a release ready anytime soon.

  • 91
    Kenny

    I’m noticing people starting to complain about Ajax plugins and how it makes sites slow. I my self have noticed running more than a couple ajax plugins that my site starts to crawl while loading the java calls in the header. Are you going to do away with the non ajax paged comments plugin? Good work either way.

Pages: « 7015 14 13 12 11 [10] 9 8 7 6 51 » Show All

Leave a Reply