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
Hey Dayna, not sure what problems you’re having with the fancy URL option - the new options shouldn’t affect the URL structure. Have I broken something?
Thanks also for the suggestion. I’d like to do an options page accessible through the WP admin interface. It’d probably make updates easier as well. I’ll consider it for the next release.
Edit: Sorry, I didn’t realise there’s a new config for fancy URL. Could I suggest a admin options page? The current config seems a bit messy and confusing. Just a suggestion
Thank you for the update
Hi, I have got the new version but there is a problem with the fancy URL again, the link to other comments pages are the default permalink and not the custom permalink of the page. Can you fix that please? Thank you
[...] Nyt on Lammikon merkintöjen kommentteihin asennettu sivutus-plugin pakon sanelemista syistä. Nuo eräät pirulaiset (1 ja 2) alkoivat nimittäin näyttää jo melko runsailta. [...]
Pavel: The new version is available now and it includes a new option (
default_page) which does what you want. Sorry it took so long. You can see it in action (I’ve setorderingto ‘ASC’ anddefault_pageto ‘last’).Read about the other changes.
Let me know if you come across any problems.
[...] So I redesigned my main blog with the wonderfull Hemingway theme. I stopped using comments on a per post basis, I find comments to often non-topic. Instead I created a guestbook using the paged comments plugin and some template advise from Jennifer. Posted by woordenaar Filed in WordPress [...]
Wery good plugin! Thanks!
[...] Da meine Kommentar Liste im Gästebuch langsam länger wird, habe ich nach einer Möglichkeit gesucht dies auf mehrere Seiten zu verteilen. Durch Wordpress.de bin ich auf das Paged Comments Plugin gestoßen. Ich habs gleich runtergeladen, die paged-comments.php angepasst und das Plugin installiert. Ich muss mal noch kucken wie ich die “Kommentarnummer” im Kommentar selbst angezeigt bekomme. [...]
Pavel, you haven’t been forgotten. I’ve just been too busy to work on the plugin. I will show you how to do it when I get a little more time.
Keyvan don’t forget for me please