WordPress Paged Comments Plugin
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
- Version 2.8 (2008-08-19) (zip file) Release notes
- View code at the WP Plugin Repository
- Work in progress: Ajax-style Paged Comments (no download yet - AJAX support coming in version 3)
Related Downloads
Installation (for Wordpress 2.3+)
If you’re upgrading from a previous version, skip these installation steps and read the upgrade steps.
- Download and extract plugin files to a folder locally.
- Read through and edit paged-comments-config-sample.php to configure, then save the file as paged-comments-config.php.
- Upload the whole paged-comments directory to /wp-content/plugins/. The plugin files should now be in /wp-content/plugins/paged-comments/.
- 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:
- White Town guestbook
- Thank You Stephen Colbert (over 60,000 comments!)
- Playstation
- eBay
- Mashable
- TorrentFreak
Questions?
- Read the FAQ and if it’s not answered…
- Leave a comment or email: keyvan (at) k1m.com
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.)
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
[...] Paged comments here at katesgasis.com is powered by Keyvan Paged Comments Plugin. [...]
[...] I just added few minor plugins for commenting section of the blog. I didn’t really want to bother at first but after reading some LiveJournal entries, I figured it’s worth the time. This is the modified version of Brian’s Threaded Comments and Paged Comments plugin which merges these two. [...]
Great Plugin! Really nice work, thank you for this one!:)
How can I make the ‘leave a reply’ block appear on it’s own page - and then have a link to the paged comments themselves?
I am trying to make a very compact site.
Pavel, good point. I’ll try and add this to the next version.
So … I tried new version with “default page” function … it works superbly but there is once more setting which I would like to set on my blog and I think there is no options for it.
I have “last Default page” and “ASC Comment ordering” … and I want that the last comment-page contain the maximum number of comments anyhow works Fill last comment-page in descending (DESC) mode. There is some alternative for this setup ?
Keyvan: Wow … thanks … I will try it …
Hi Gray, I’ll look into this to see what can be done. Although I think most people when posting a comment will have finished reading and would actually want to be redirected to the page their comment appears on—to see if it actually went through, if it appears okay, etc.
Keyvan,
My readers are requesting the following: If I’m on page “n” of a multi-paged comments post and I post a new comment - the resulting page displayed is now the first page - not page “n”. Is there any way to keep it on page “n”?
Hi Keyvan, it was my mistake. I’m sorry because there are too many configuration in the file that I missed out that option to set fancy URL to true. Thank you for considering that suggestion as well. It would make setting the configuration so much easier.