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.)
[...] Paged Comments : Permettre d’afficher des commentaires sous forme de pages avec navigation [...]
[...] Too much content? I tried browsing to the CommentLuv page on my mobile phone once and it crashed with “out of memory” error and considering it has (atm) 199 responses, I thought that might be something to do with it. I know my stats sometimes give me a 500 internal server error when it takes a long time to load so that looked to be the problem. I downloaded a plugin called ‘paged-comments‘ and installed it, I particularly like the way you can stop it from paging every post and only choose which posts need paged comments by adding a custom field to the post editing screen. [...]
[...] Those regularly commenting on this blog may have noticed that I’ve added the Paged Comments plugin. [...]
[...] WordPress Paged Comments Plugin: Bazı yazılarınız oldukça fazla sayıda yorum alabilir. Bu da sayfanın uzamasına neden olacaktır. Bu fazla yorumları sayfalara ayırmak için eklentiden yararlanabilirsiniz. [...]
thanks good plugin. is it compatible with wp 2.3 ?
Where is the ‘user manuel’ or ‘user guide’? I have install the plugin, but how do I enable it to work only at a specific site like homepage.com/guestbook ?
Best regard
RaA
Working when commenting the line :
$file_contents = str_replace(’<’.'?php’,'<’.'?’,$file_contents);
(Windows Server - WP 2.3.3)
Thanks for an awesome plugin Keyvan. I had to use I received too many comments on my own plugin’s page:
http://ryanhellyer.net/2008/01/14/suckerfish-wordpress-plugin/
[...] I’ve found a plugin which can paginate comments … Keyvan Minoukadeh » WordPress Paged Comments Plugin However I’m not having much luck figuring out how to do it without using the plugin. I’m sure it must be possible though so I’ll keep trying! __________________ http://ryanhellyer.net/ http://flytrapgrowing.info/ [...]
I’m using is_single = true; ?> to make the homepage show the latest post in the single post format (like found here http://www.clarkandmichael.com/) However, i feel that your plugin is still evaluating that it still “is_home” and not showing the right comments version. Single.php works perfect.
Do you know a way that you can serve my homepage the same way as you serve the single.php view?