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: « 7626 25 24 23 22 [21] 20 19 18 17 161 » Show All

  • 210
    Keyvan

    Sorry I’m late replying to everyone. I will get through the comments soon. Very quickly…

    CK: Thanks for posting about the plugin. Will hopefully see what I can do for the next release. Thanks also for the fix. I use WP 1.5 on this site which deals with URLs through .htaccess rewrite rules. I’ll include a fix in the next version once I’ve tested for the bug on WP2. Thanks again.

    Jay: I’ll be looking to see if I can come up with a solution for this problem. Most of my code deals with the comment template and the way comments are pulled in and displayed. I haven’t even looked at the code that deals with new comment posts. CK has blogged about it and included some code. I haven’t had a chance to look into it very much but I’ll be looking at CK’s solution and seeing if there’s anything I can add for the next release.

    Simulacrum: Most of the time using the paged comments template I provide for the default theme will work fine. If you’ve tried that and it doesn’t work, then it’ll require more work to create a custom paged comments template for the theme. I’m hoping to make it easier in the next release, if not, there’ll be a guide on how to create a custom paged comments template for a theme.

    I’ll get back to the other comments soon.

  • 209
    Simulacrum

    I am using WordPress 2.0.4 and Pastel Paradise (http://www.wordpressdiva.com/themes/32/pastel-paradise.html) theme. And I have trouble with “paged comments” compatable with theme used me…

    I’m sorry that Paged comment is not independed from theme design…

  • 208
    Jay

    Installed this today as i’ve been looking for a simular plugin for a very very long time, but hasd to remove it after 10 minutes as it didn’t function as I would have liked it to.

    Unfortunatly the lack of a ’send user to the default last page (depending on the config setup)’ feature is missing for the ASC order. Alot of people I presume look for 1,2,3,4 and want commenters sent to page 4 when they have commented.

    Personally i’m baffled as to why it isn’t a part of the plugin - i’d love to see it implemented in the future.

  • 207
    Skylog » Blog Archive » links for 2006-08-22

    [...] Keyvan Minoukadeh » WordPress Paged Comments Plugin (tags: wordpress plugin) [...]

  • 206
    วิธีแบ่ง Comment ออกเป็นหลายๆหน้า » Basicstep

    [...] Wordpress Paged Comment Plugin เป็นโปรแกรมที่ช่วยแบ่งหน้าของ Comment ใน post ของคุณออกเป็นหน้าย่อยๆ เพื่อไม่ให้ใช้เวลาโหลดที่มากเกินไป โดยเฉพาะที่มี Comment กันเป็นร้อยๆ พันๆ Comment [...]

  • 205
    Dan

    woops sorry here is the url:
    http://newsmediarelease.com/imapia/?p=3

  • 204
    Dan

    Using K2, uploaded the corresponding file but still get this error:

    Fatal error: Cannot redeclare k2_comment_type_detection() (previously declared in /home/newsmct4/public_html/imapia/wp-content/themes/k2/comments-paged.php:15) in /home/newsmct4/public_html/imapia/wp-content/themes/k2/comments-paged.php on line 2

  • 203
    Diana in Norwegen » Test

    [...] Ein sehr schönes Plugin für die Formatierung der Kommentare gibt es bei Keyvan Minoukadeh. Damit lassen sich die Kommentarfelder relativ leicht steuern und die Anzeige kann verschieden dargestellt werden. Zusätzlich wird ein Zähler integriert. Dadurch weis man schnell, mit welchem Beitrag man es zu tun hat - ist er Aktuell oder nicht. Weiterhin werden unnötig viele Beiträge ausgeblendet, was die Übersicht der Website um einiges erhöht, zumindest bei Einträgen >15 Einträge, die auf einigen Blocks in viel größere Dimensionen reichen.   [...]

  • 202
    _ck_ says… » bug in paged comments plugin when using other queries, with solution

    [...] I found a minor bug in the paged comments plugin when you are trying to use other queries on the URL. [...]

  • 201
    michuk

    Thanks for this plugin - works pretty well after some hacking. I just have one problem. For pages, it seems to be ignoring my pernament link structure and always makes the ugly links like: “http://blabla?page_id=54&cp=4#comments”. I can undestand that it needs some more params but I’d like the links to look like the usual uses, just params added. So, it should look like: “http://blabla/the/pernament/link/as/usual/?page_id=54&cp=4#comments”
    Is it easily achievable?

Pages: « 7626 25 24 23 22 [21] 20 19 18 17 161 » Show All

Leave a Reply