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.9.1 (2008-12-23) (zip file)
- 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. Note: WordPress’ automatic upgrade feature will erase the plugin’s config file. If you’re going to use it, make sure you backup your paged-comments-config.php file first.
- 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
- WP 2.7 users: If use_wp_config is set to true (default), you can make changes to the plugin config using the WP admin interface. Go to Settings > Discussion and look under ‘Other comment settings’.
- 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
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
Am I supposed to erase my comments page, and just add the files from the comments-paged to my themes comment feature? Do I just copy everything from yours to mine?
[...] Paged Comments The Name says it all. It Breaks down comments into a number of pages. [...]
[...] Paged Comments (plugin) - Technically, not a performance plugin. However, paged comments will reduce page load time for articles which attract hundreds of comments. Example post with 382 comments. [...]
Keyan - did you found a solution for this bug:
I agree with you, this is a bug. Paged comments is currently whiping the pre-filled info on the comment form Anyone can search for a fix? Sadly I’m not a php coder.
help - would be really great
thanx for your work!!!!!!!!! anyhow
cheers thomas
[...] you notice that some plugins, such as Keyvan Minoukadeh’s Paged Comments plugin, are not operating correctly, then ensure that your custom permalinks have a trailing slash [...]
Hi there - Is there a reason the page listing sits in my last commenter’s comment? In other words, the “page 3 of 3…” is between my last commenter’s name and their comment. What should I do?
[...] Paginarea comentariilor. Să afişezi 180 comentarii pe o singură pagină nu e doar un efort pentru browser, ci şi pentru sistemul pe care rulează blogul. De aceea e recomandat să le paginaţi, mai ales dacă aveţi mai mult de 50 comentarii per post. [...]
I’ve got an issue about the plugin :
Links such as /?p=123#comment-1234 are broken when they link to a comment on page 2,3 etc.
I’ve read all kinds of documentation.
I’ve tried tweaking the config of paged_comments.
I’ve enabled and disabled permalinks in different modes.
I’ve tried to add an add_rewrite_rule.
Everything failed.
Any help ?
I am trying to use your paged comments plug in but having issues.
When I activate it the comment text enter area becomes way too wide. Any ideas.
jason
[...] zur Theorie. Eines vorneweg – alteingesessene Plugins wie PagedComments, welches auch die Navigation im Screenshot rechts hier im Blog erstellt hat, kann diese Funktion [...]