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.3+)

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

744 Responses to “WordPress Paged Comments Plugin”

Pages: « 7512 11 10 9 8 [7] 6 5 4 3 21 » Show All

  • 70
    jakob

    hi k

    in wp2.0 the url-rewrite messes up, can you fix.

    have a look here

    rgds
    jakob

  • 69
    Tim

    I tested your plugin with wordpress 2.0.
    It seems to be working fine, except for the rewrite rules. They are broken and result in 404 errors. Updated rules would be appreciated.

  • 68
    Chris Eilers

    Thanks for a great plugin, which I’ve installed on a trial blog at http://www.onlineresumesandcvs.com/blog/. Have also installed the code for excluding the blog entry on follow-on comment pages that you wrote for Massimo.

    Is there an equally simple way of excluding a postmetadata paragraph (on copyright and the post date of the blog entry) on the follow-on comment pages?

    I’ve got a number of other questions of lesser importance, and don’t mean to take you away from your Ajaxing, which looks promising. :-)

    Is there an easy way to insert the_title() into the else statement you wrote above? I tried the following but the title doesn’t display:

    <?php if (!isset($_GET['cp'])) {
      the_content('<p>Read the rest of this entry</p>');
    } else {
      echo '<p>You are browsing a page of comments on “<?php
        the_title(); ?>”. Read “<?php the_title(); ?>” <a href="',
        get_permalink(), '">here</a>.</p>';
    } ?>

    Can “(Show All)” be included in your (current, stable, non-Ajax) plugin? I notice you have “(Show All)” as well as numbered links on your main plugin page at http://www.keyvan.net/code/paged-comments/, and I think this could be useful for some users.

    Is it possible to remove the comments box (and associated code) from all except the (most-recent) comment page?

  • 67
    blogito ergo sum – Articles » Playing with plugins

    [...] Several plugins that might be useful if my post readership increases by several orders of magnitude: 1) WordPress Email Notification. If readership includes non-blogophiles who don’t know an RSS feed from a pig trough. http://watershedstudio.com/portfolio/software/wp-email-notification.ht ml 2) Subscribe to Comments. Allows readers to subscribe to the comments of a post by email, and manage their subscriptions. Ditto to previous for comments. http://www.scriptygoddess.com/archives/2004/06/03/wp-subscribe-to-comm ents/ 3) Paged Comments. Allows comments to be split across multiple pages. http://www.keyvan.net/code/paged-comments/ [...]

  • 66
    Keyvan

    Hi Jonathan,
    Thanks for flagging this up. You’re right that it’s a useful feature. I’ve just tried to think of my original reason (it was intentional) for disabling it, but I can’t remember it now. :) I think I did consider adding it as an option, so it wouldn’t have been a serious issue. Hmmm, if the reason doesn’t come to me soon I’ll work it back into the next version. Thanks again for raising the issue.

  • 65
    Jonathan

    Great plugin, I’ll definitaly make use of it when I change my guestbook over to Wordpress.

    I have found just one slight problem. A really nice feature of Wordpress comments is way new comments appear to the person who submitted them with the label “Your comment is awaiting moderation”, while no-one else can see them. With your paged comment plugin, this no longer works. The comment is completely invisible to everyone until it has been approved.

    I fixed this by copying the necessary code to checks the user’s name and e-mail from comment-functions.php

  • 64
    Keyvan

    Aaron: Not yet. I will be testing it as soon as I get the chance. (If anyone else has tried running it under WP2, please post up and let me know.)

  • 63
    Aaron Brazell

    Has this plugin been updated and tested to successfully under WordPress 2.0?

  • 62
    Florian

    Hm, I figured it out, works now. Thank’s anyway!

  • 61
    Florian

    Hello Keyvan,
    sorry but the plugin is not working for me. I always get the message: “Sorry but comments are closed…” when I activate it, but that’s not true. I activated all comment options but it won’t work.

    Any Ideas?

Pages: « 7512 11 10 9 8 [7] 6 5 4 3 21 » Show All

Leave a Reply