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 £10 ($16/€12) :)

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

760 Responses to “WordPress Paged Comments Plugin”

Pages: « 7624 23 22 21 20 [19] 18 17 16 15 141 » Show All

  • 190
    Keyvan

    Eddie, there isn’t, but you should find the template for the default theme works okay for most themes. Don’t be put off if you can’t see your theme listed. I’m usually happy to create a paged comments template for a theme if the theme’s comments template deviates from the WP default. I don’t have much time right now, but you can attempt it yourself if you like - it’s not very difficult to do.

  • 189
    Eddie

    Great plugin!

    Is there a “comments-paged.php” for theme Blix?

  • 188
    Everton Blair

    Thanks - sorted! Thanks for looking into this.

    EB

  • 187
    Keyvan

    Everton: I’m still not sure you’re experiencing the same problem as Nathan - conflict with my plugin and the Permalink Redirect plugin. I think the problem you’re having is not that the requested comments are not loading, but that rather than the browser jumping straight to the comments it’s displaying the page from the top. To fix that you’ll need to edit your template and change <h3 class=”reply”> to include an id attribute with the value “comments”: <h3 class=”reply” id=”comments”> - if you look at the source of this page you’ll see what I mean.

    Nathan: I’ve upgraded my version of WP to 2.0.3 and I’m still not experiencing a conflict. In fact, looking at it closer I think it’s because Paged Comments strips the URL segment identifying the comment page from $_SERVER['REQUEST_URI'] before the redirect plugin looks at it. Also, if a comment page is requested, your page slug will always end in a slash anyway, to separate it from the comment page segment (e.g. /2006/page-slug/comment-page-10) so, again, I can’t quite see why there should be a conflict between these two. Please give me any more information and I’ll be happy to look into it further. You can see both plugins working by trying these links: /2006/01/test <– no trailing slash so the redirect plugin kicks in.
    /2006/01/test/comment-page-5/#comments <– comment page 5 requested and correctly loads.

    If anyone else is experiencing a conflict, please post and I’ll investigate further. Also, if for some reason the redirect plugin is seeing the request URI before paged comments plugin has acted to remove the comment segment, you can try adding this skip pattern to the redirect plugin’s skip rules: ^(.+/)comment-page-([0-9]+)/?$

  • 186
    Everton Blair

    The problem I’m experiencing is the same as Nathan in 179 - I’ve tried turning Permalink Redirect both on and off but no joy.

  • 185
    Everton Blair

    Hi

    Thanks for a great plugin. i have one problem and one additional question
    -My permalink structure is http://www.connectedinternet.co.uk/2005/10/18/570. i’ve changed the fancy_url key to true but when I click on any comment pages it displays the correct url e.g. http://www.connectedinternet.co.uk/2005/10/18/570/comment-page-2/#comments but it jumps back up to the top of the post rather than showing the start of the 2nd page of comments. How do i fix?

    thanks for any help.

    Everton

  • 184
    Joe’s Freeware Finds » Blog Archive » Keyvan Word Press Comment Page Plug-in

    [...] Keyvan Word Press Comment Page Plug-in… If you use WP and get a lot of comments, this plug-in is just what you may need. [...]

  • 183
    valerie

    Thanks :-)

  • 182
    Keyvan

    Laslo: No problem, glad it’s working.

    Valerie: The plugin package contains a template for K2 users, but I doubt it’s any use now - and if I remember correctly it didn’t provide ajax comment posting at the time. Glad it works without ajax, but I’ll take a closer look and try and get it to work with the ajax commenting enabled. Hopefully for the next version.

    Nathan: I’ll take a closer look. If you’re interested, here’s my WP2 testbed using both the paged comments plugin and the permalink redirect plugin. It’s not running on the latest WP2 version, so I’ll try and upgrade and check it again.

    Sonali: This plugin is for WordPress versions 1.5 and 2 (clearly stated at the top of this page). Mingus (version 1.2) is now fairly old and I don’t really have the time to add support for it. The very first version I built was running on 1.2 though, I’m not sure if I released that version or not, but if you’ve got time you could try downloading the version with the earliest date from redalt.com and give it a try.

    Xnxx: I am still working on this plugin. Please let me know what error message you get when you activate it and I’ll see if I can help.

  • 181
    Xnxx

    Are you still working on this plugin?
    I get this error when I activate it :(
    I am running Wordpress 1.5.1.2
    What am I doing wrong?
    Help me please!

Pages: « 7624 23 22 21 20 [19] 18 17 16 15 141 » Show All

Leave a Reply