WordPress Paged Comments Plugin

This plugin is no longer being developed. WordPress has had paged comments support in the core since version 2.7. The comment paging you see here is using WordPress’s built-in code and not my 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

Installation (for WordPress 2.3 up to 2.7)

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.

  1. Download and extract plugin files to a folder locally.
  2. Read through and edit paged-comments-config-sample.php to configure, then save the file as paged-comments-config.php.
  3. Upload the whole paged-comments directory to /wp-content/plugins/. The plugin files should now be in /wp-content/plugins/paged-comments/.
  4. 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:

Questions?

Paid Support

If you run a commercial site and you’re having difficulty setting up paged comments, I offer paid support. Feel free to get in touch: keyvan (at) k1m.com

23 Comments

  1. […] WordPress Paged Comments – cho phép vi?t comment trên các trang. R?t h?u ích cho các blog có nhi?u comment. […]

  2. […] Her 10 yorumda bir sayfalama yaparak sayfalar?m?z?n uzay?p gitmesini engeller. Link […]

  3. […] Paged Comments v2.6.4 (2007-07-31) by Keyvan Minoukadeh — Breaks down comments into a number of pages […]

  4. DealSave says:

    Is it possible to config this script so that the actual post itself does not appear on the comment pages?

  5. […] WordPress Paged Comments – allows comment paging. Useful for those very popular blog entries receiving many comments. […]

  6. […] ??? ????. ?? ???? ??? ?? ???? ???? ??(Active)? ???? ???. ??? ???? ?????. ???? ??? ?? ???? ??? ? ???? ????. ??? ??? ??? ????? WordPress Paged Comments Plugin ? ? ??????. […]

  7. Gamer says:

    Thanks! Greate plagin!

  8. […] WordPress Paged Comments – cho phép vi?t comment trên các trang. R?t h?u ích cho các blog có nhi?u comment. […]

  9. […] WordPress Paged Comments – allows comment paging. Useful for those very popular blog entries receiving many comments. […]

  10. sunkoliu says:

    Blood Elf–Blackwing Lair–Gold
    http://www.buywowgold.org.cn
    Deliver 1-3 hours Service on 24/7 Buy and Pay 1 minute

  11. […] 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 […]

  12. 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!

  13. I like this plugin, and I will place it on my blog.

  14. […] WordPress Paged Comments – suddivide i commenti in pagine. […]

  15. […] 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. […]

  16. […] Her 10 yorumda bir sayfalama yaparak sayfalar?m?z?n uzay?p gitmesini engeller. Link […]

  17. Berabere says:

    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?

  18. LiJunLe says:

    How to uninstall it?

  19. […] WordPress Paged Comments – Allows comment paging. Useful for those very popular blog entries receiving many comments. […]

  20. […] WordPress Paged Comments – cho phép vi?t comment trên các trang. R?t h?u ích cho các blog có nhi?u comment. […]

  21. […] Così, verso le 14 questo blog è andato offline (ed è rimasto tale fino alle 19) perché i tecnici di WebPerTe hanno rivelato un consumo abnorme di ram e cpu nel server che ospita il blog. Sono stato un pomeriggio in contatto con loro per proporre soluzioni. Alcuni giorni fa avevo rimosso un paio di plugin per alleggerire ulteriormente queste pagine, oggi ho inserito la paginazione dei commenti. Il server probabilmente dovrà fare meno sforzi dovendo servire delle pagine indubbiamente più piccole da generare. […]

  22. […] 4. Ultima schimbare: am scos inca un plugin – pagged comments. Desi extrem de util pentru posturi de peste 50 de comentarii, cum ar fi unul de 1600 (spre exemplu), nu functiona cu wordpress 2.3.x si nu am reusit usor sa-l conving. Linkurile spre paginile de comentarii erau invalide. Poate daca isi face Keyvan timp pentru un update sau daca imi fac eu pentru a vedea care-i buba.. o sa revina. La esal.ro cumperi Asus EEE PC la cel mai mic pret de pe piata si drept cadou, iti dublam capacitatea de stocare cu un PenDrive de 4 GB […]

  23. […] Cevap: Be?endi?iniz WordPress Eklentileri yeni sitem için bunları seçtim.bazılarını şimdi kullanıyorum, bazıları ileride lazım olacak: – postratings (görsellik ve ziyaretçi katılımı için- sayfalara oy verme) – all-in-one-seo-pack (category, arşivi indeksletmeyi kaldırma özelliği çok güzelmiş, wpnin bence en eksik yönü dublicate oluşturması) – contact form – google-sitemap-generator – paged-comments-2.6.4 yorumları sayfalara ayırıyor, sayfalar uzamıyor bu sayede. – wp-sticky.1.10 (temayı düzenleyerek yaptım ama bu da işe yarar) – wp-table (postlarda tablo yapmaya yarıyor) – anket Programming ? Portfolio | lesterchan.net güzel pluginler yapıyor. […]

  24. […] Paged Comments 2.6.4 Seitenleiste bei zu vielen Kommentaren  […]

  25. youtube says:

    It’s very good article. Great site with very good look and perfect information.

  26. ?iirler says:

    thanks very nice..

  27. Achim Mentzel says:

    I had to uncomment the line

    $file_contents = str_replace(‘

  28. s.karal says:

    Love how you’ve simplified the install process. I have multiple blogs and spend too much time doing installs at the moment. Thanks.

  29. dizi izle says:

    It’s very good article. Great site with very good look and perfect information.

  30. Sandra says:

    Hi there,

    Is it possible to create pages of all comments no matter which post it is associated with? Ie. An “All Comments Archive” page?

    Thanks
    Sandra

  31. Chris Jennings says:

    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?

  32. […] 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/ […]

  33. Ryan says:

    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/

  34. Fabien says:

    Working when commenting the line :
    $file_contents = str_replace(‘<‘.’?php’,'<‘.’?’,$file_contents);

    (Windows Server – WP 2.3.3)

  35. raa says:

    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

  36. mbd says:

    thanks good plugin. is it compatible with wp 2.3 ?

  37. […] 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. […]

  38. […] Those regularly commenting on this blog may have noticed that I’ve added the Paged Comments plugin. […]

  39. […] 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. […]

  40. […] Paged Comments : Permettre d’afficher des commentaires sous forme de pages avec navigation […]

  41. u13 says:

    threaded comments just like here – how? )

27 Trackbacks

  1. By ????WordPress & ??WordPress?? | ????? - ?? on 24 January 2008 at 8:00 am

    […] Paged Comments?????????? […]

  2. […] WordPress Paged Comments – cho phép vi?t comment trên các trang. R?t h?u ích cho các blog có nhi?u comment. […]

  3. By 300 Adet Wordpress Eklentisi : Y?lmaz Eres on 26 January 2008 at 11:49 pm

    […] Her 10 yorumda bir sayfalama yaparak sayfalar?m?z?n uzay?p gitmesini engeller. Link […]

  4. […] Paged Comments v2.6.4 (2007-07-31) by Keyvan Minoukadeh — Breaks down comments into a number of pages […]

  5. […] WordPress Paged Comments – allows comment paging. Useful for those very popular blog entries receiving many comments. […]

  6. By Bookworm’s Archive » ?????? ???? ?? on 29 January 2008 at 4:57 am

    […] ??? ????. ?? ???? ??? ?? ???? ???? ??(Active)? ???? ???. ??? ???? ?????. ???? ??? ?? ???? ??? ? ???? ????. ??? ??? ??? ????? WordPress Paged Comments Plugin ? ? ??????. […]

  7. By Các plugin t?t nh?t cho Wordpress @ NDK Blog on 3 February 2008 at 5:23 am

    […] WordPress Paged Comments – cho phép vi?t comment trên các trang. R?t h?u ích cho các blog có nhi?u comment. […]

  8. […] WordPress Paged Comments – allows comment paging. Useful for those very popular blog entries receiving many comments. […]

  9. […] 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 […]

  10. By I 50 migliori plug-in per Wordpress | on 5 February 2008 at 12:42 pm

    […] WordPress Paged Comments – suddivide i commenti in pagine. […]

  11. By Creating a Guestbook in WordPress | Zwinkyness on 5 February 2008 at 9:38 pm

    […] 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. […]

  12. […] Her 10 yorumda bir sayfalama yaparak sayfalar?m?z?n uzay?p gitmesini engeller. Link […]

  13. […] Paged Comments […]

  14. By Recommended WordPress Plugins | Loon Design on 8 February 2008 at 6:20 pm

    […] Paged Comments […]

  15. By Download Wordpress Plugins For Beginers | Scrapur on 11 February 2008 at 11:15 pm

    […] WordPress Paged Comments – Allows comment paging. Useful for those very popular blog entries receiving many comments. […]

  16. […] WordPress Paged Comments – cho phép vi?t comment trên các trang. R?t h?u ích cho các blog có nhi?u comment. […]

  17. […] Così, verso le 14 questo blog è andato offline (ed è rimasto tale fino alle 19) perché i tecnici di WebPerTe hanno rivelato un consumo abnorme di ram e cpu nel server che ospita il blog. Sono stato un pomeriggio in contatto con loro per proporre soluzioni. Alcuni giorni fa avevo rimosso un paio di plugin per alleggerire ulteriormente queste pagine, oggi ho inserito la paginazione dei commenti. Il server probabilmente dovrà fare meno sforzi dovendo servire delle pagine indubbiamente più piccole da generare. […]

  18. By 4 schimbari de pluginuri | de ce? blog on 18 February 2008 at 9:53 am

    […] 4. Ultima schimbare: am scos inca un plugin – pagged comments. Desi extrem de util pentru posturi de peste 50 de comentarii, cum ar fi unul de 1600 (spre exemplu), nu functiona cu wordpress 2.3.x si nu am reusit usor sa-l conving. Linkurile spre paginile de comentarii erau invalide. Poate daca isi face Keyvan timp pentru un update sau daca imi fac eu pentru a vedea care-i buba.. o sa revina. La esal.ro cumperi Asus EEE PC la cel mai mic pret de pe piata si drept cadou, iti dublam capacitatea de stocare cu un PenDrive de 4 GB […]

  19. […] Cevap: Be?endi?iniz WordPress Eklentileri yeni sitem için bunları seçtim.bazılarını şimdi kullanıyorum, bazıları ileride lazım olacak: – postratings (görsellik ve ziyaretçi katılımı için- sayfalara oy verme) – all-in-one-seo-pack (category, arşivi indeksletmeyi kaldırma özelliği çok güzelmiş, wpnin bence en eksik yönü dublicate oluşturması) – contact form – google-sitemap-generator – paged-comments-2.6.4 yorumları sayfalara ayırıyor, sayfalar uzamıyor bu sayede. – wp-sticky.1.10 (temayı düzenleyerek yaptım ama bu da işe yarar) – wp-table (postlarda tablo yapmaya yarıyor) – anket Programming ? Portfolio | lesterchan.net güzel pluginler yapıyor. […]

  20. By Was gibts hier? | Carrillo-Castillo.de on 19 February 2008 at 6:53 pm

    […] Paged Comments 2.6.4 Seitenleiste bei zu vielen Kommentaren  […]

  21. […] Her 10 yorumda bir sayfalama yaparak sayfalar?m?z?n uzay?p gitmesini engeller. Link […]

  22. […] Her 10 yorumda bir sayfalama yaparak sayfalar?m?z?n uzay?p gitmesini engeller. Link […]

  23. By Too many comments! - Web Development Forum on 22 February 2008 at 11:31 am

    […] 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/ […]

  24. By WP | Yorum Eklentileri | Net ve Web Serüveni on 2 March 2008 at 8:06 pm

    […] 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. […]

  25. […] Those regularly commenting on this blog may have noticed that I’ve added the Paged Comments plugin. […]

  26. By » CommentLuv gets CommentSmothered! > FiddyP on 6 March 2008 at 10:58 pm

    […] 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. […]

  27. By Liste de Plugins Indispensables Pour WordPress on 14 March 2008 at 12:16 am

    […] Paged Comments : Permettre d’afficher des commentaires sous forme de pages avec navigation […]