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
[...] Pagged comments es especialmente útil para blogs con muchos comentarios. [...]
Joseph: To remove the numbers displayed below the avatar, you’ll have to edit comments-paged.php and remove this line:
You can also hide the numbers by editing your stylesheet.
Tom: Can you send me the URL of a page where you’ve had to replace ‘&’ -> ‘?’. As for the comment search box. It’s a plugin someone else developed that, as far as I know, is not being maintained any more. I’ll see if I can find a link.
Jamie: Which version of WordPress are you using?
TonyN: The default paged comments template has been updated for WordPress 2.5. You can download the previous template and place it in your Tiga-06 theme folder (found in wp-content/themes/). That should resolve the problem.
Keyvan,
I’m using Paged_Comments 2.7.1 with Wordpress 2.3 and the theme Tiga-06
I get this error with no comments loading:
Call to undefined function: get_avatar() in
[….]/blog/wp-content/plugins/paged-comments/themes/default/comments-paged.php on line 36
I think that the problem may be that Tiga does not handle avatars. Is there a workaround for this as I do not want to change my theme.
It’s a great plugin and I would very much like to use it. Many thanks for any help you can give.
I downloaded the upgrade… and now I don’t see the plugin listed under my plugins? However, paged comments are there and appear to be working. Where did the file go? Hmmm
I want to display the search field like your comments section. Which plugin have you used for ?
[...] (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点が格納されています。 [...]
[...] volver farragosos y largos de cargar si tienen muchos comentarios. Buscando por ahí encontré este plugin (paged-comments) que soluciona ese problema. La instalación es [...]
I have fix it Keyvan. Just replace “&” -> “?” .
I set “fancy_url = false” and get 404 error when submitting comments.
I think the bug is in function “paged_comments_post_redirect_location”
I don’t know much about PHP but I’ve installed your plugin and all is working great with it. The only thing I want to do is remove the numbers that are displayed below the avatars as this was only added after adding your plugin.