This plugin is no longer being developed. WordPress has had paged comments support in the core since version 2.7. The comment paging you see here is using WordPress’s built-in code and not my 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)
Installation (for WordPress 2.3 up to 2.7)
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
- Stuff White People Like
- Thank You Stephen Colbert (not online anymore, but used to have 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
Paid Support
If you run a commercial site and you’re having difficulty setting up paged comments, I offer paid support. Feel free to get in touch: keyvan (at) k1m.com
540 Comments
Sorry all, I’ve been too busy the last few days to look into some of the reported problems. I’ll be looking at the 2.3 issue very soon and some of the other issues reported here. If you’ve got it working with WP 2.3 or would like to share any fixes, please post or email. Thanks.
Hello, just to thanks a lot as i am actually owning a wordpress 2.1.1 website and your plugin worked perfectly, in 5 seconds lol.
WP 2.3 issues: I tried upgrading my WP 2.2 install to version 2.3 and the plugin works for me. I will need more information from anyone experiencing problems. (Did it work before when you were using WP 2.2? Are you using the latest version of the plugin?) I don’t have much time to test it extensively at the moment, so anything that can help me track down the problem would help.
Mosey: I tried Hemingway EX and it appears to work okay without any changes (at least for me).
Plugin worked on 2.2 -> Updated to 2.3 -> still working (for me)
Keyvan: Thank you for testing Hemingway-Ex! I really appreciate it!
I apologise for not clarifying that I had made the changes to ensure that the comments display would be the same as the ‘default’ comments on Hemingway-Ex(but paginated/descending order), as Paged Comments seems to use a slightly different template. I was under the impression I had made the suitable changes, but had the error instead >_
(continued. sorry I cut myself off again)
I shall certainly try again as it’s probably my own editing at fault. Do you think it might be more straightforward for me to add on the necessary CSS values instead of editing the template?
Thanks again!
Hi Keyvan,
It’s been a long time that I couldn’t work on the technical side of my blog and I’ve just made a test with a newly downloaded WP 2.3 (which would replace my actual 2.1 one) and at this time I don’t find any issue. But I did the test with a very small set of other plugins : authUI, Chunk Urls for WordPress, ImageManager, Live Comment Preview and Login Stayput that I also test on WP 2.3. It work both with the default WP theme and a modified one.
And best : paged comments does work natively now with paged-posts (with the tag , for those who could be interested)
.. Thanx for that upgrade, I will not have to make any dirty-hack (:D) for that..
Regards,
Nicolas
I’m trying to get the plugin to work with the Alternate Comment Form plugin, but they appear to be incompatible. Any ideas on how I could combine the two or get them both working at the same time?
Hi Keyvan,
There seems to be a small “bug” in this plugin. I installed it and everything worked like a charm exept when you visit the attachment pages it’s totally messed up. It ignores the entire attachment page when the plugin is activated.
Do you perhaps know what i should do to keep the regular attachment.php page with your plugin activated. Other than this small issue it works like a charm and i’d like to use it for the posts etc.
Also, I am attempting to install the plugin on Semiologic… Not having any luck with that… even minus the Alternate Comments Form plugin.
I am getting an error: “Call to a member function num_pages() on a non-object” when trying to install to Semiologic. Any ideas?
I have the same problem as Anand(503) said.
It looks like a fancy_url problem. Because when I turn off fancy_url in paged-comments-config.php. Everything works like a charm.
Is it possible to fix this?
I’m having the same problem as Anand (503) above. When I call http://www.4-14.org.uk/thats-my-king-s-m-lockridge/comment-page-9/#comments I get a 301 redirect back to http://www.4-14.org.uk/thats-my-king-s-m-lockridge#comments
I’m using WordPress 2.3 with the K2 theme.
The fancy_url option don’t work on wp 2.3
Any ideas?
Bug feedback.
Using WordPress 2.3 with Mistylook 3.5 theme.
Mistylook features a built-in “author comment highlight” which implements a unique CSS styling on comments which the author of a given post has made.
When I enable Paged Comments 2.6.4 (2007-07-31) this highlighting is disabled/removed.
You can see an example of the highlighting working here.
oh balls, sorry, that example has the wrong link (obviously). You can find an example of the highlighting here.
Hi,
Thanks for the great plugin, I’m using since the first version.
With wp 2.3.1. if the user is logged and the comment is awaiting moderation, the comment is not shown to the user (with or without the note “Your comment is awaiting moderation”).
If the user isn’t logged, all works fine and the comment awaiting moderation is shown to him.
I looked for solving it, but I couldn’t.
Thanks.
Julius.
Thanks for all the comments everyone. Sorry it’s taking a while, but I will start looking at the WP 2.3 issues you’ve posted. Expect an update soon.
xxxx
I need to be able to hide comments on certain pages from everyone apart from:
Me (admin)
One user (specified by me)
The ‘one user’ would be different for every page.
I hope that makes sense! I am trying to build an educational site, and I need comments on some pages to be only visible to me, and the student I specify.
Hi, i just wonder, how could i change the Inverted number interfase on your plug-in… i need that the first page shows the last post!! not inverted as you have it!
Thanks! (You save me lot’s of coding with this wonderful plugin)!! XD
thanks for the hint!
Well that’s a pretty cool plug in, nice to see it in practice on your website
Interesting article!
Thanks
I’ve tried everything I know (which admittedly isn’t everything) trying to get paged comments to work on my guestbook page at tripawds.com/guestbook but the closest I came was a fatal error. I installed the paged comments plugin long after installing the guestbook. Is this an issue? Any help is appreciated. Thanks!
Gracias! cool!
Hi Keyvan,
I love your plugin and it is an integral/crucial part of my site. I am using it as a “guestbook” of sorts for people sending my twins prayers for a cure to their horrible disease.
Is it possible to create multiple instances of the paged comments that share all of the config information but not the same page template?
Since my guestbook is configured to change the word “comments” to the word “wishes” (in the paged-comments template) when I turn on paged-comments features on other pages the same word changes apply.
I tried to create a “new” template with the “original comment language” and I could not figure out how to make it work.
Before I spend a great deal more time trying to engineer a solution, I was hoping you might steer me in the right direction (or tell me that it is impossible/difficult)…
Seems like this should be pretty simple and someone has probably done this before…
Thanks a million in advance!
Hugh
Hi Keyvian, my Webmaster Tools is telling me that I have a lot of pages with the same title, I was investigating and they are talking about the different pages of the comments that shows the same title. (“Post Title | Blog Title)
Is there a way to include a line in the header to show “Post Title – Page 3 | Blog Title”.
I use the format “else if…..” in the title tag…
Thanks. Great Plugin!!!
Thanks ,its working. Compatible with 2.3
广州注册香港公司一条龙后续服务
服务内容:公司注册证书;商业登记证;公司章程;股票本;钢印、签字章、小圆章、椭圆章;董事会议记录本;申请资料影印件1套;空白收据;绿盒一个,附送香港电话、传真、联系地址
广州市日聪企业管理顾问有限公司(日聪登尼特集团成员)
经营范围:香港公司注册、BVI、萨摩亚、英美公司注册,注册广州公司,商标注册、投资移民、商务配套,代理记账,年审年报等等
Thanks for that great plugin! It’s exactly what I need.
But I have a little problem: Descending order does not work — neither when set in the *-config.php nor with custom keys.
the plugin is great! thx
Manele
I have just installed this plugins in my site but it doesn’t work. Does it work on WP 2.2.2?
I use itheme 3 column ^^
Simple but great. Good work.
dsdsd
it´s great, really. Regards.
Hi Keyvan, while your plugin worked perfectly. Sadly it conflicted with other wordpress plugins and as a result made chitika.com’s related products unit and rmarsh.com’s similar posts plugins disappear completely in Firefox 2 and Internet Explorer 7!
That might be something to look into.
Is it possible to config this script so that the actual post itself does not appear on the comment pages?
Thanks! Greate plagin!
Blood Elf–Blackwing Lair–Gold
http://www.buywowgold.org.cn
Deliver 1-3 hours Service on 24/7 Buy and Pay 1 minute
i just wonder, how could i change the Inverted number interfase on your plug-in… i need that the first page shows the last post!! not inverted as you have it!
I like this plugin, and I will place it on my blog.
wellcome to my site! http://vnitweb.com/?page_id=8
Thanks for the input, appreciated!
If it’s possible to make the function available to calculate comment paging soon enough to issue an error code before headers have been sent, would it also be possible to make a function available that would detect incorrect post paging soon enough to issue an error code?
How to uninstall it?
thanks
Thanks
thanks WP Plugin
It’s very good article. Great site with very good look and perfect information.
281 Trackbacks