WordPress Paged Comments Plugin
Paged Comments is a plugin for WordPress to allow comment paging. Useful for those popular blog entries receiving many comments, or a simple guestbook page within WordPress.
Features
- Comment ordering: show latest comments first, or last
- Specify number of comments to display per page
- Enable paging for all posts and pages, or on a per-post basis
- Give users the choice to view all comments on one page with a ’show all’ link
- Specify the first or last page of comments to load by default
- See paged-comments-config-sample.php for more
Download — Latest Version
- Version 2.9.1 (2008-12-23) (zip file)
- View code at the WP Plugin Repository
- Work in progress: Ajax-style Paged Comments (no download yet - AJAX support coming in version 3)
Related Downloads
Installation (for Wordpress 2.3+)
If you’re upgrading from a previous version, skip these installation steps and read the upgrade steps. Note: WordPress’ automatic upgrade feature will erase the plugin’s config file. If you’re going to use it, make sure you backup your paged-comments-config.php file first.
- Download and extract plugin files to a folder locally.
- Read through and 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!
Optional Steps
- WP 2.7 users: If use_wp_config is set to true (default), you can make changes to the plugin config using the WP admin interface. Go to Settings > Discussion and look under ‘Other comment settings’.
- 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
The comments on this page are handled by the plugin, but it’s also used by the following sites:
- White Town guestbook
- Thank You Stephen Colbert (over 60,000 comments!)
- Playstation
- eBay
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, free software, please only donate if you want to.)
Paid Support
If you run a commercial site and you’re having difficulty setting up paged comments, I now offer paid support. Feel free to get in touch: keyvan (at) k1m.com
[...] Pagged Comments [...]
paged comments
Der Artikel über WoW-Sucht hier sprengt alle Rahmen. Mittlerweile hat er 832 Kommentare und ist, ohne Bilde und Skripte, alleine schon über 1,1 MB groß. Damit scheint wohl über irgend eine Grenze gestoßen zu sein, denn die Anzeige brach irgendwann…
[...] I also installed a new guestbook using WordPress Paged Comments Plugin. I removed the comments capability for the gallery, news and other pages. Instead of commenting at the news page and subpages, people can only now leave their messages at the guestbook. [...]
[...] La solucion más lógica es implementar el paginado con un plugin para el Wordpress ya que no tiene esta feature nativa. En efecto tengo probado este sistema en otros blogs y funciona bien salvo… que incrementa el numero de consultas SQL en 20 lo cual se pone a 41 consultas SQL para generar una simple página: menú, post y comentarios. [...]
[...] Paged Comments — As made obvious by the name, this plug-in allows paging of comments for those blog entries that receive many comments. I just installed this plug-in this last weekend since I have had quite a few blogs that were just getting way too long and unwieldly, and I’ve tweaked the code to match my unique comments logic. [...]
will the plugin create duplicated pages for search engines?
I don’t know how to modify the comments-page for my new theme. Something wrong with the Gravatar.
http://hds.twbbs.org/~uno/index.php/guestbook/
[...] 그러다가 오늘 다시 kukie님이 방명록을 만들면서 소개한 Keyvan Minoukadeh님의 WordPress Paged Comments Plugin을 다시 가봤습니다. 자세히 보니, 이 플러그인이 방명록만을 위한 것은 아니더군요! 답변이 많아지면, 페이지를 넘겨주고, 답변의 순서도 바꿔주는 기능을 합니다. 앞의 글을 보시면 설치하는 법이 잘 나와있지만, 제 경험을 바탕으로 다시 정리해보겠습니다. (참고로 저는 WordPress 2.0을 사용하고 있습니다. 마지막에 1.5 사용방법이 나오지만, 제가 몰라서 과감하게 삭제했습니다!) [...]
[...] Paged Comments [...]
The template from defautl theme dont work propertly. I see two comments variants on one page :(. My theme comments full list and paged-comments generatad paged list.