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. Dan says:

    Great plugin Keyvan, but do you know how to enable paged comments for popup comments. There’s a small mention about it a while back, but no follow up. I guess it’s not a very popular feature, but I’d really like to get this feature on my blog, and would gladly put in a donation if you could help me out.

    Thanks.

  2. […] Kevyan Minoukadeh’s WordPress Paged Comments Plugin allows paging for comments. This means that instead of one long page of comments, your comments are divided up into multiple pages. Kevyan says this is useful for popular blog entries or simple guestbook pages in WordPress. Installation seems to be pretty straightforward. […]

  3. Bryan says:

    Keyvan … this sounds like a great plugin that would really help me out, but when I tried to activate it, my site totally disappeared. My homepage and everything else had absolutely no content. Couldn’t even access WP admin.

    Any idea what I did wrong?

    I’m using WP 2.1 … that should be OK, right?

    Here’s my site:
    http://www.boyslife.org/section/games/games-guru/

  4. […] ??Paged Comments???????????????????????????????????? ???paged-comments-config-sample.php???paged-comments-config.php??paged-comments.php???????????comments-paged.php??????????????k2???????comments-paged.php?????????? […]

  5. […] Paged Comments Paged Comments Version: 1.5 License: GPL Description: WordPress Paged Comments is a plugin for WordPress 1.5 to allow comment paging. Useful for those popular blog entries receiving many comments or a simple guestbook page within WordPress. Author: Keyvan Minoukadeh Plugin Page Attached Files […]

  6. […] Paged Comments Split comments across multiple pages. […]

  7. […] Keyvan Minoukadeh » WordPress Paged Comments Plugin ????WordPress?????????? (tags: wordpress ?? comment) […]

  8. Keyvan,
    Thank you for a great plugin, I’ve been using it for over a year now. Some of my posts have a few hundreds comments and your plugin really helps.

  9. Keyvan says:

    Thanks for the comments everyone. To those having problems, please try version 2.6. The directory structure has changed, so if you’re currently using 2.5, read the upgrade steps.

    New features/fixes

    * German users should see ‘Show All’, ‘Newer Comments’ and ‘Older Comments’ translated. Thanks kretzschmar.

    * Eval problem should be gone now. Thanks AlexeyG.

    * Install for first-time users is now easier. No more copying template files to the theme folder.

    Please let me know if you experience any problems.

  10. Bryan says:

    Hey Keyvan … I downloaded the new plugin, but still no luck activating it. I get a blank site and blank admin page, and my site only comes back if I delete the plugin.

    I’m sure it’s my fault. Probably a problem with my WP install, which is too bad because I could really use your plugin. I have a post with 800 comments that REALLY needs to be paged.

    Thanks.

  11. Michelle says:

    thank you for providing this plugin to the people.

  12. […] ??????????????????????????????? GuestBook???Plugin???????????????????GuestBook??????????????? Plugin:Paged Comments ??????????????WordPress Paged Comments Plugin […]

  13. Anonymous says:

    […] ??????????????????????????????? GuestBook???Plugin???????????????????GuestBook??????????????? Plugin:Paged Comments ??????????????WordPress Paged Comments Plugin […]

  14. […] Aunque debe ser transparente para casi todos, he actualizado WordPress (por fin) a la última versión dispobible de la rama 2.0.x (2.0.10 en este momento), y ya de paso también algunos plugins (como por ejemplo el estupendo Paged Comments de Keyvan Minoukadeh, o el no menos bueno Popstats de Luis Sancho). […]

  15. Alec says:

    Hi,

    Why is that when I run
    if ($paged_comments->pager->num_pages() > 1)

    It gives:
    Fatal error: Call to a member function on a non-object in comments.php on line 21

  16. […] Need a WordPress plugin that can page comments to paged WITHOUT doing anything to the template. There is a plugin already made, but it requires…. [Read More] […]

  17. sdamy says:

    I’ve installed your great plugin! but I’ve a problem with language… How can I set italian language?

    (example “show all” = “Mostra tutti”, “Responses to” = “commenti lasciati su”)

    thanks in advance

  18. […] Paged Comments – sorts large masses of comments into pages. Be sure to save your commentators much hassle by redirecting them to the latest comments after they've submitted their own. You might like to use this in conjunction with the Reverse Order Comments plugin. […]

  19. Jermaine says:

    Although i don’t have many comments on my blog, i do appreciate this plugin very much. Thanks for sharing.

  20. I’m having somewhat of a usability problem when a user leaves a comment, but is taken to the first page rather than the page their comment is actual posted. Any ideas?

  21. Sergio says:

    I have installed your plugin to paginate my guestbook (made with Guestbook Generator plugin http://wordpress.org/extend/plugins/guestbook-generator/) , but it doesen’t works.
    It works in all the pages of my blog, except the guestobook page…
    Can you help me? Tanks, and sorry for my bad english…

  22. Keyvan says:

    sdamy: I don’t have translations for the Italian language. If you (or anyone else) is able to translate and send me the strings used by the plugin, please let me know. You can see the 3 strings used by the plugin here: paged-comments.pot.

    Ronald: Redirecting users to the comment page containing their submitted comment is something I’m going to look at for the next release.

    Sergio: I’m not familiar with that plugin, but I don’t think you need a plugin to create a guestbook page for you. Simply creating a WordPress page and calling it ‘Guestbook’ should work fine.

  23. Ralp says:

    This plugin is GREAT!!

  24. Annelie says:

    Hello!
    Yesterday I installed your Paged Comments Plug-in to my guestbook’s page in WP 2.2.

    I have tried to configure the config-file, but nothing happens. My earliest post shows first and I can’t see any page numbers. (I want to read the latest comments first.)

    I don’t know if I had set the wrong code in my guestbook
    to called the template.

    I have tried to have the comment-paged.php, but when I do that I got this message.

    Fatal error: Call to a member function on a non-object in /home/u/utmattningsdepressionnet/…/themes/refresh/comments-paged.php on line 26

    Please, can you give me a tip how to fix this problem?

    I hope you can understand what I mean; my English is not the best.

  25. […] CoolPlayer ??+??????????wma mp3 wmv swf??????? CoolCode ??????????????????????????? Lightbox JS v2.2 Plugin ???????????????????js??????? ?? WordPress ??? ????????????????????sidebar? Page Post ??????????????? StatTraq ??????????????????????????????????????????????????????????? WP-UserOnline ????????????????????????????sidebar?????useronline?? Spam Karma 2 ????????????TrackBack????????????????????????????? Pagebar ????????????????Page1, 2, 3, 4….10??????????????????? WordPress Paged Comments Plugin ??????????????????????????? […]

  26. Annelie says:

    Sorry, I was too quick to post my earlier comment! I missed to read all text in your paged-comments.php file. Now I have change my guestbook to and it works great! Thank you for a great plug-in!

  27. […] Paged comments plugin creates a pagination navigation for the comment entries. This is useful if you get a lot of comments. It allows you to customize how many comments to display per page, in descending or ascending order. […]

  28. […] Paged Comments It breaks down comment entries into a number of pages with paginated navigation. […]

  29. […] Paged Comments – sok hozzászólásnál oldalakra bontja azokat. (Lásd megmondós oldal) […]

  30. laolao says:

    HI! I am looking forward to making this work.

    Right now I get an error

    Fatal error: Call to a member function on a non-object in /home/sinocida/public_html/dev/wp-content/themes/tiga-06/comments.php on line 105

    My line 105 of comments.php is:

    ??? Any idea?

  31. laolao says:

    HI! I am looking forward to making this work.

    Right now I get an error

    Fatal error: Call to a member function on a non-object in /home/sinocida/public_html/dev/wp-content/themes/tiga-06/comments.php on line 105

    My line 105 of comments.php is:

    ??? Any idea?

    Using 2.0

  32. laolao says:

    Sorry, meant to say 2.1 latest update…

  33. […] Paged Comments by Keyvan MinoukadehBreaks down comments into a number of pages […]

  34. laolao says:

    Hi.

    I tried again today, and it works with Classic Theme, but not with Tiga-06. Is anyone using the Tiga-06 theme, or can help me out?

    Thanks,

    LaoLao

  35. […] Yeni ekledi?im temalardan sonra bir de bir eklenti türkçele?tireyimde tam olsun mant???yla aramalar?m sonucu herkesin tam anlam?yla i?ini görecek WordPress Paged Comments Plugin eklentisiyle kar??la?t?m.Bu eklenti sayesinde yorumlar nedeniyle uzay?p giden yaz?lar?m?zda yorumlar? sayfaland?rabiliyorsunuz.Çat pat ingilizce bildi?im için eksikliklerim olabilir gerekli eksiklikleri üstadlar?m?z giderirse sevinirim. 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 […]

  36. km says:

    Hi, I already using the latest Paged Comments already. But seem like it doesn’t proper at wordpress 2.2

  37. yunus says:

    thanks for this plugin very nice

  38. […] ????blog??????????????????????????????????? ????????Paged Comments? […]

  39. […] Buscando solución encontré con WordPress Paged Comments Plugin, un plugin para WordPress con el cual es posible paginar los comentarios de las entradas, de esta manera se crean páginas dinámicas limitadas a tantos comentarios (yo lo he dejado a 20) y arriba aparece un menú de navegación, lo cual es muy cómodo. […]

  40. […] 0.9 Update: Added paged comments functionality. Requires the Paged Comments plugin. […]

  41. ???? says:

    Great plugin Keyvan, but do you know how to enable paged comments for popup comments. There’s a small mention about it a while back, but no follow up. I guess it’s not a very popular feature, but I’d really like to get this feature on my blog, and would gladly put in a donation if you could help me out.

  42. […] Via : WordPress Source and Download : http://keyvan.net/code/paged-comments/ Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. […]

  43. […] Source and Download : http://keyvan.net/code/paged-comments/ Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. […]

  44. […] Yorum Sayfalama Eklentisi (Paged Comments) S?rr? taraf?ndan Türkçe’ye çevirilen ve 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 […]

  45. […] S?rr? Özden taraf?ndan Türkçe’ye çevirilen ve 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 […]

  46. […] GeneralStats OK   Paged Comments ???????????? […]

  47. […] ?Paged Comments?? […]

27 Trackbacks

  1. By Paged comments plugin » wordpressgarage.com on 9 April 2007 at 11:30 pm

    […] Kevyan Minoukadeh’s WordPress Paged Comments Plugin allows paging for comments. This means that instead of one long page of comments, your comments are divided up into multiple pages. Kevyan says this is useful for popular blog entries or simple guestbook pages in WordPress. Installation seems to be pretty straightforward. […]

  2. […] ??Paged Comments???????????????????????????????????? ???paged-comments-config-sample.php???paged-comments-config.php??paged-comments.php???????????comments-paged.php??????????????k2???????comments-paged.php?????????? […]

  3. By Paged Comments - DevelopeNet.com on 16 April 2007 at 10:31 am

    […] Paged Comments Paged Comments Version: 1.5 License: GPL Description: WordPress Paged Comments is a plugin for WordPress 1.5 to allow comment paging. Useful for those popular blog entries receiving many comments or a simple guestbook page within WordPress. Author: Keyvan Minoukadeh Plugin Page Attached Files […]

  4. […] Paged Comments Split comments across multiple pages. […]

  5. By links for 2007-04-28 | Smartr.cn on 28 April 2007 at 4:27 pm

    […] Keyvan Minoukadeh » WordPress Paged Comments Plugin ????WordPress?????????? (tags: wordpress ?? comment) […]

  6. […] ??????????????????????????????? GuestBook???Plugin???????????????????GuestBook??????????????? Plugin:Paged Comments ??????????????WordPress Paged Comments Plugin […]

  7. […] Visit […]

  8. […] Aunque debe ser transparente para casi todos, he actualizado WordPress (por fin) a la última versión dispobible de la rama 2.0.x (2.0.10 en este momento), y ya de paso también algunos plugins (como por ejemplo el estupendo Paged Comments de Keyvan Minoukadeh, o el no menos bueno Popstats de Luis Sancho). […]

  9. […] Need a WordPress plugin that can page comments to paged WITHOUT doing anything to the template. There is a plugin already made, but it requires…. [Read More] […]

  10. […] Paged Comments – sorts large masses of comments into pages. Be sure to save your commentators much hassle by redirecting them to the latest comments after they've submitted their own. You might like to use this in conjunction with the Reverse Order Comments plugin. […]

  11. […] Paged Comments […]

  12. By ??WORDPRESS?? on 5 June 2007 at 12:42 pm

    […] CoolPlayer ??+??????????wma mp3 wmv swf??????? CoolCode ??????????????????????????? Lightbox JS v2.2 Plugin ???????????????????js??????? ?? WordPress ??? ????????????????????sidebar? Page Post ??????????????? StatTraq ??????????????????????????????????????????????????????????? WP-UserOnline ????????????????????????????sidebar?????useronline?? Spam Karma 2 ????????????TrackBack????????????????????????????? Pagebar ????????????????Page1, 2, 3, 4….10??????????????????? WordPress Paged Comments Plugin ??????????????????????????? […]

  13. By Plugins Used in This Site on 5 June 2007 at 5:19 pm

    […] Paged comments plugin creates a pagination navigation for the comment entries. This is useful if you get a lot of comments. It allows you to customize how many comments to display per page, in descending or ascending order. […]

  14. By Best Web Gallery on 5 June 2007 at 5:19 pm

    […] Paged Comments It breaks down comment entries into a number of pages with paginated navigation. […]

  15. By kobak pont org » plugin karnevál nevezésem on 5 June 2007 at 7:44 pm

    […] Paged Comments – sok hozzászólásnál oldalakra bontja azokat. (Lásd megmondós oldal) […]

  16. […] Paged Comments by Keyvan MinoukadehBreaks down comments into a number of pages […]

  17. […] Paged Comments […]

  18. […] Yeni ekledi?im temalardan sonra bir de bir eklenti türkçele?tireyimde tam olsun mant???yla aramalar?m sonucu herkesin tam anlam?yla i?ini görecek WordPress Paged Comments Plugin eklentisiyle kar??la?t?m.Bu eklenti sayesinde yorumlar nedeniyle uzay?p giden yaz?lar?m?zda yorumlar? sayfaland?rabiliyorsunuz.Çat pat ingilizce bildi?im için eksikliklerim olabilir gerekli eksiklikleri üstadlar?m?z giderirse sevinirim. 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 […]

  19. […] ????blog??????????????????????????????????? ????????Paged Comments? […]

  20. […] Buscando solución encontré con WordPress Paged Comments Plugin, un plugin para WordPress con el cual es posible paginar los comentarios de las entradas, de esta manera se crean páginas dinámicas limitadas a tantos comentarios (yo lo he dejado a 20) y arriba aparece un menú de navegación, lo cual es muy cómodo. […]

  21. […] 0.9 Update: Added paged comments functionality. Requires the Paged Comments plugin. […]

  22. […] Via : WordPress Source and Download : http://keyvan.net/code/paged-comments/ Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. […]

  23. […] Source and Download : http://keyvan.net/code/paged-comments/ Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. […]

  24. By Wpdestek | Wordpress Destek Sitesi on 22 June 2007 at 10:35 am

    […] Yorum Sayfalama Eklentisi (Paged Comments) S?rr? taraf?ndan Türkçe’ye çevirilen ve 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 […]

  25. […] S?rr? Özden taraf?ndan Türkçe’ye çevirilen ve 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 […]

  26. By wordpress22 » Blog Archive » Hello world! on 22 June 2007 at 7:21 pm

    […] GeneralStats OK   Paged Comments ???????????? […]

  27. By ??paged-comments | FIAB on 23 June 2007 at 3:05 am

    […] ?Paged Comments?? […]