WordPress Paged Comments Plugin
WordPress Paged Comments is a plugin for WordPress 1.5 and 2.x to allow comment paging. Useful for those popular blog entries receiving many comments, or a simple guestbook page within WordPress.
Download — Latest Version
- Version 2.6.4 (2007-07-31) (zip file) Release Notes
- View code at the WP Plugin Repository
- Work in progress: Ajax-style Paged Comments (no download yet)
Related Downloads
- WP-Guestbook (by Frank Bültge)
- Paged Threaded Comments (by Zhou Qingbo)
- tp-guestbook (by 082net)
- Threaded and Paged Comments (by Trustin Lee)
- Guestbook Templates (by Jennifer)
Installation for WordPress 1.5 and 2.x
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.
- 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 for WordPress 2 users!
- WordPress 1.5 users: If you enabled the fancy_url feature in step 2, edit your .htaccess file and enter these lines:
RewriteRule ^(.+/)comment-page-([0-9]+)/?$ $1?cp=$2 [QSA,L]
RewriteRule ^(.+/)all-comments/?$ $1?cp=all [QSA,L]at the end of the file beneath the ‘#END WordPress’ marker (this ensures WordPress leaves the rule alone when updating the other rewrite rules).
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
- Thank You Stephen Colbert (over 60,000 comments!)
- Demo page
- Ajax demo
- White Town guestbook
- 10 most popular torrent sites of 2007
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, freely available and open source, please only donate if you want to and can afford it.)
Hi all,
You can download the new release now.
2.6.4 Changes:
2.6.3 Changes:
Please let me know if you experience any problems with the new version.
I also have a small problem with your plugin in conjunction with the hemingwayEx theme. I also posted on the themes authors homepage:
hemingwayEx theme post
what happens can be seen here: http://www.pensiunea-nora.ro/guestbook/
The newest comment is on top, so sorting is ok, exactly liek I want it, but the newest comment has the comment id 1 so every time a newer comment is posted, it gets id 1 which seems strange to me but I don’t know where the problem lies, with the used plugins or with the theme… because the theme also has an option for comment sorting…
maybe you can help me sort this out?
Thanks for the comments. I’m sorry it’s taking me a while to respond. I’m going to be testing the plugin a little more tomorrow so I’ll let you know if I find anything. Expect another release soon.
I have a small problem with the plugin: guestbook generator. it is supposed to work with your plugin too, here is a link to my 2 comments on that authors homepage, maybe you can help too:
WordPress Guestbook Generator
thx a lot
Ovidiu
[...] If you analyze the pages created by paged comments plugin (for exemple), You’ll see that almost all content in all pages generated are exactly the same. [...]
Unfortunately, your great plugin breaks
Paged Comments plugin
http://www.keyvan.net/code/paged-comments/
Info:
http://forums.lesterchan.net/index.php/topic,566.20.html
I’m hoping you might issue a fix so these two plugins become compatible.
[...] Paged Comments has saved of my pages with heavy discussion from crashing browsers [...]
HOW DO I REMOVE THE PAGE NUMBERING??? YOUR COMMENTS DONT SHOW THE PAGE NUMBERING PLEASE HELP!
[...] Paged Comments ,让评论分页显示,比如煎蛋的留言页。 [...]
Thanks for this! I will be using this pretty soon. By the way you have a really cool and clean site. Nice.