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
- ColdForged.org (customised version)
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.)
[…] good way to keep your comments tidy when you have a tremendous long list of comments. Check it out there and click Show All at the comment section. You will know what I mean. I have seen a lot of blogs, […]
Oh, my bad, didn’t paste the website URL into the comment text
so, here it is for you to check out what’s actually going on there: http://www.FSR-ARCTeam.de
Thanks!
Hello Keyvan,
if you look at the guestbook of my page you will see that the comments are ordered with the latest being on top, but unfortunately the numbering starts all over again on each new page. How can I modify the files so that the latest comment in the guestbook will have number 20, for example, instead of number 1? Have been trying to figure this out for quite some time now, but I didn’t know how to do it. I already copied the default comments-paged.php to my theme’s folder (I’m using a modified “beachtheme”) but still the numbering starts all over again on each page…Do you have any ideas/instructions? Would be greatly appreciated
Regards
Robert
[…] Este problema esta bien conocido por los utilizadores de Wordpress, el remedio consiste en paginar los comentario para evitar de cagarlos todos de un golpe, entonce un blogger tuvo la idea de resolver este problema creando un script para nuestro querido CMS, este plugin se llama Paged Comments. […]
[…] se čte 1000 komentářů pod sebou), nainstalujeme si rozšíření Wordpressu nazvaný “Paged Comments” (stránkování komentářů). Jednoduše plugin zaktivujeme a nastavíme požadované volby […]
Thanks for your plugin!
I recognized a problem: Paged Comments (Version 2.6.4) does not work, if Wordpress is installed in a subdirectory (example.com/wordpress) and called from homedirectory (example.com). The links to the individual pages are wrong then.
How can i fix this Problem, without changing the directory?
[…] Paged Comments - تجعل قائمة التعليقات في مدونتك مقسّمة إلى عدة صفحات بدلا من أن تكون كلها معروضة مرة واحدة فتُثقل الضغط على مدونتك. […]
Hi - I have been using this for a while and it is great. I have just upgraded to WP 2.5 and have spotted a small problem. On a test blog using the WP Default theme, activating the paged-comments plugin disables the new built in support for Gravatars.
I have just realised while writing this that the reason is that the theme specific entry in the themes directory is out of date wrt WP 2.5 so at least I now know how to fix it
Looking at it, there are quite a number of details in there that need bringing up to date with the current version of the theme.
“Vladimir
April 2nd, 2008 at 12:23 am
Installed on 2.5 but fancy_url does not work. All links end up on default page.”
>>> I have This probleam…