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
[...] Paged Comments: 实用的评论分页插件。 [...]
[...] Number 2. Paged Comments - Have popular posts? Have lots of comments? Have stupidly long pages because of this? This plugin is for you, it allows you to have comment pagination to show less on a page at once. [...]
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.
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 am getting an error: “Call to a member function num_pages() on a non-object” when trying to install to Semiologic. Any ideas?
Also, I am attempting to install the plugin on Semiologic… Not having any luck with that… even minus the Alternate Comments Form plugin.
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.
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?
[...] WP官方下载页面 | 插件作者下载页面 [...]
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