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
Keyvan: thank you so much. You really fix the problem in version 2.8 and paged comments works very well when WordPress installed in its own directory. Thanks you again! If you come to China, I’ll definitly buy you a coffee.
2.8 release
This release should fix the following issues:
otto: Please try setting show_all_option to false.
Goob: Thanks for letting me know. I don’t have time to look into compatibility issues right now, but I’ll keep it mind.
Hi, I just managed to fix the problem with page-comment-num fancy urls not working on custom permalinks structure, actually the problem was the paged-comments expect slash at the permalinks structure while it doesn’t need to be there (it is not in my case: /%category%/%postname%)
Here’s the patch that does the job for me:
http://www.nanoant.com/download/patches/paged-comments_cope-with-permalinks-wo-slash.patch
[...] to achieve the contact form. This fantastic plugin is from Mike Cherim and Mike Jolley.I also use Paged Comments by Keyvan Minoukadeh to make comments paged. Thanks to you guys. You are so talented web [...]
[...] (1)KEYVANサイトさんよりVersion 2.6.4 (2007-07-31) (zip file) をダウンロードしました。 「paged-comments」ホルダに paged-comments-config-sample.phpファイル paged-comments.phpファイル languagesホルダ themesホルダ readme.txt の5点が格納されています。 [...]
Jesus, sorry about this double post. Of course after spending 30 minutes trying to figure out what was wrong, I find it 2 seconds after posting for help.
Looks like this plugin and the AJAX comment one I use are incompatible. Oh well, no biggie I guess. Here’s the site of the plugin, just in case you didn’t know about it.
http://wordpress.smullindesign.com/plugins/ajax-comments
I feel like a dolt for not being able to figure this out and I didn’t see anyone else having this problem here, but does anybody know how to get the navigation to show up? What I mean is that page numbers and the next / previous arrows simply aren’t showing up on my posts.
The plugin works great at filtering my comments down to 25 per page and ordering them in ASC, but all I’m seeing is 25 comments with no way to get to the rest. What am I doing wrong at 3:25am?
Hi keyvan, I see what you mean by there. In my utilisation I d’ont need to link my comments, so I’ll trie your option.
Thank you for your help and keep courage for the futur ajax version
Hi keyvan, I wana know if it’s possible to hide the “show all” option because I have an “Maximum execution time of 30 seconds exceeded” error when I try to display the 300 comments of my page. It’s strange because your page counts more than 700 ….
Thanks a lot