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.)
Thanks for the input, appreciated!
If it’s possible to make the function available to calculate comment paging soon enough to issue an error code before headers have been sent, would it also be possible to make a function available that would detect incorrect post paging soon enough to issue an error code?
wellcome to my site! http://vnitweb.com/?page_id=8
[...] Her 10 yorumda bir sayfalama yaparak sayfalarımızın uzayıp gitmesini engeller. Link [...]
[...] Save your file as guestbook.php or guestlog.php or whatever you want to call it, as long as it has the extension .php and does not have the same name as one of the files already present in your theme. Now, since I have the Paged Comments Plugin enabled (which you should do too: it automatically reverses comments, therefore putting the latest first and every 10 comments you can go to a next page, which is what guestbooks really need) this is where my journey ends. In case you do not enable the Plugin, I suppose your Comments Template needs a few more tweakings here and there, but I’m not getting into that since I have not really tried it myself when creating my Guestlog. [...]
[...] WordPress Paged Comments - suddivide i commenti in pagine. [...]
I like this plugin, and I will place it on my blog.
i just wonder, how could i change the Inverted number interfase on your plug-in… i need that the first page shows the last post!! not inverted as you have it!
[...] S?rr? Özden taraf?ndan Türkçe’ye çevirilen bu eklenti sayfam?zda uzay?p giden yorumlar? sayfalayarak, sayfam?z?n daha k?sa olmas?n? sa?lar ve yorumlar? okumay? kolayla?t?r?r. Eklenti Ad? : WordPress Paged Comments Plugin ??levi : Her 10 yorumda bir sayfalama yaparak sayfalar?m?z?n uzay?p gitmesini engeller. Kaynak : WordPress Paged Comments Plugin [...]
Blood Elf–Blackwing Lair–Gold
http://www.buywowgold.org.cn
Deliver 1-3 hours Service on 24/7 Buy and Pay 1 minute
[...] WordPress Paged Comments - allows comment paging. Useful for those very popular blog entries receiving many comments. [...]