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 Keyvan!
Just wanted to say THANKS so much for your plugin, it works great! I had over 800 comments on my blog today and needed to do something fast — and your plugin was it!
I had to make one minor change to get comments that are awaiting moderation to show up in WPMU in wp-content/plugins/paged-comments/paged-comments.php —
diff paged-comments.php.orig paged-comments.php
172c172,174
if ( $user_ID ) {
> $approved_condition = “(comment_approved = ‘1′ OR ( user_id = ‘$user_ID’ AND comment_approved = ‘0′ ))”;
> } else if (empty($comment_author)) {
742c744
Thanks again,
Lisa
Thanks for your plugin, it works great!
Works fine on wordpress 2.5
anyone has tested this plugin with the upcoming wordpress 2.5? TIA
[...] Paged Comments This plugin is useful if you get a lot of comments on your blog. It breaks your comments into a number of pages. Imagine if your blog gets over a thousand of comments? You definitely need this plugin. [...]
[...] Her 10 yorumda bir sayfalama yaparak sayfalarımızın uzayıp gitmesini engeller. Link [...]
[...] b.) 加回你的 Plugins,這些是我曾用過的 plugins: WordPress Database Backup 1.7 TinyMCE Advanced 2.1 Paged Comments 2.5 Reversed Order Comments 1.0 其中強力推介的是 TinyMCE Advanced 2.1,wordpress admin 內 WYSIWYG editor。安裝及啟用後,可在〔管理〕〔TinyMCE Advanced〕中設定,功能十分強大。 [...]
[...] Paged Comments [...]
Nice plugin, and I’m gonna use it. Seems to be the best one out there…
Thanks!
threaded comments just like here - how? )