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,
Unfortunately your suggestion hasn’t worked. I’ve tried all combinations of true and false for those two options.
TIA
Phillip
good plugin, thanks
Thanks Phillip. If you’re using the latest version of the plugin, you’ll find two options in the config file: all_posts and all_pages. Try setting all_posts to false and all_pages to true. That should be it. If it’s still not working after this change, please post again. (By default all_posts and all_pages are both enabled.)
Hi,
Great plugin, thank you.
I have the same problem as Dayna who posted in #83. I read each subsequent post carefully and you seem to have solved her problem. However, I don’t understand exactly what you/she did. Sorry.
I have a modified (cut and paste!) comments-paged file that can be viewed here:
http://www.planetphillip.com/comments-paged.phps
If you have some time I would be most grateful if you could have a quick look. I fully understand if you can’t. I don’t expect personal support.
A good example of the problem can be seen here:
http://www.planetphillip.com/posts/wivenhoe-the-fall-of-ravenholm-single-player-half-life-2-mod/
TIA
Phillip
CJ, I’m glad you managed to fix the other problems.
Regarding SEO, I’m not much of an expert in the area so I can’t say if Google or any other search engine will penalise - very unlikely I would think. However, if it does bother you (or you’d simply prefer not to have the content loaded again and again while you’re navigating through comment pages) you can make minor changes to your template file to prevent the content from being displayed when a comment page has been requested. See the FAQ entry if you’d like to implement this.
Hope that helps.
Keyvan,
The problem is fixed. I’m not sure exactly what was wrong with the form, but after I put in the table everything is fine.
The problem with a fancy URL is fixed too. Sorry, it was my mistake. I tried to configure paged-comments.php instead paged-comments-config.php. Thank you to Steve (http://www.automatorworld.com/). He is using your plugin too. I connected him and he was very kind to help me.
I love this plugin! I do not have to worry that it takes a long time to load my page.
One more question about SEO. Is this pluging Google friendly? For example, I have over 150 comments and I set plugin to display 10 comments per page. Will Google see and index 15 different pages? Can my website get penalized by Google because all 15 pages share the same content?
Thank you.
Hi CJ, Sorry for the late reply (I’ve been away). I had a look at the page you linked to and the comment form appears okay for me (both in Firefox and IE). Have you fixed the problem? If not please send me a screenshot so I can see what the problem is and I’ll try and fix it. Thanks for the nice comments - I’m glad you find the plugin useful.
Hey Keyvan,
Please disregard my last comment.
Sorry for being so stupid.
I’m trying to set this option to true in paged-comments.php
through the Wordpress plugin edit interface. “$paged_comments->fancy_url = true”
But actually I have to set it in paged-comments-config.php
2 different files!!!
Thanks a lot. Feel bad for bothering you.
But my comment form is still broken, not alligned properly.
Hi Keyvan,
I set fancy URL to true, but still getting ?= at the end.
Am I missing something? How can I set the plugin so it has a custom name it the URL?
Plz
Thank you.
Hi Keyvan,
Thank you very much for your plugin. I think this plugin is a must for blogs with many comments. Honestly, I would suggest to Wordpress to distribute the blog code with your plugin already imbedded, very useful.
Some of my posts get over 130 comments and the page size becomes huge, over 130KB. With your pluging it’s only 23KB and I’m getting 13 pages of content instead just 1.:)
Here are my problems:
1. For some reason when I enable the plugin the comment form gets screwed up. The fields are not aligned and the name of the field is displayed under it. Tested in IE, Firefox, Opera, the same problem. When I disable the plugin everything is fine. I’m not sure is it the theme problem or not. Can you help? You can see the form on the bottom of the page.
2. My second question might be a little bit dummy. I tried to read through all comments on your site, but didn’t find the answer. Sorry if I overlooked it. When I browse through the paged comments I notice that the URL of the page is not browser friendly and looks like: http://www.laptoprepairguy.com/?p=14&cp=12#comments
How can I make it more browser friendly, so the URL reflects the original name, something like: http://www.laptoprepairguy.com/laptop/2006/01/04/toshiba-laptop-overheating/comments/12/ Etc.
Thank you in advance.
CJ2600
Sorry for broken English.