Keyvan Minoukadeh

WordPress Paged Comments Plugin

Filed under: General — Keyvan @ 12:24 am

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

Related Downloads

Installation (for Wordpress 2.3+)

If you’re upgrading from a previous version, skip these installation steps and read the upgrade steps.

  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

  • 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?

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.)

This month I’ve received £0 ($0/€0) :(

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

744 Responses to “WordPress Paged Comments Plugin”

Pages: « 7511 10 9 8 7 6 5 4 [3] 2 1 » Show All

  • 30
    Blogging according to Ajay » Guestbook in WordPress 1.5

    [...] Don’t know if I would ever put a Guestbook on my blog, but I’m seriously considering using the WordPress Paged Comments Plugin, since many page already have a lot of comments. [...]

  • 29
    Random Curiosity » Random Musings: Site and Series Updates

    [...] moyism informed me of WordPress plugin that allows you to have paged comments. I installed it and fiddled around with it until it looked similar to the old style. So comments are now shown 20 to a page. I actually wouldn’t have considered using this plugin if last week’s GSD final episode post hadn’t gone over 100 comments. Anyway, if you experience any types of problems, leave a comment or send me an email. [...]

  • 28
    Vincent

    Thank you!

  • 27
    8 Seconden » Paged Comments

    [...] Heb je een blog waar bij sommige posts het aantal reacties enorm oploopt? Dan is de Paged Comments plugin de oplossing. Deze plugin zorgt ervoor dat de reacties netjes verdeeld worden over verschillende pagina’s, zodat niet alleen de pagina sneller laadt, maar ook je bandbreedte kosten beperkt blijven. [...]

  • 26
    Keyvan

    Sandro, the behaviour you describe is the result of a conscious decision to “fix” each comment to its associated comment page. It is deliberately implemented this way to prevent comments from shifting from page to page when new ones get added. (It also ensures comments appear on the same comment page regardless of page order.) One issue that would arise if the plugin behaved in the way you describe is that of invalid comment permalinks. Some people like to have permalinks to comments, but if a comment can shift from page 2 to page 1, it makes it difficult to pin the comment down to one URL. Even the current implementation leaves a lot to be desired. (For example, comments deleted from the admin interface will cause shifts.)

    Having said that, I realise many people aren’t too fussed about the permalinks issue, and would rather see the latest 10 or so comments when viewing an entry. So I will try and add an option for enabling the behaviour you describe. I’ll let you know when it’s done.

  • 25
    Keyvan

    Martin, I’m not quite sure where you’re going wrong. You can ignore my comment about themes providing a comment-enabled template for the time being (that doesn’t affect the installation procedure nor the plugin’s operation). If you’re prepared to start again, I’d recommend you download the latest version of the plugin (version 2) and follow the updated installation instructions. If you’re still having problems, or if you feel my installation steps are too vague, please post again with more information and I’ll do my best to help.

  • 24
    gt.grf » Blog Archive » gt.Candy

    [...] Paged Comments plugin을 guestbook에 사용 [...]

  • 23
    Sandro

    Hi, Thank you very much for the great work.

    One Question is left: at my site the counting is some kind of weird. For example when i have 11 commments on the post, there is only the 11th displayd. But it should show 10 on the “Page 2″ and only 1 on page “1″.

    Because now, the one who posts the 11th comment ist the one and ondly visible comment without clicking further.

    Can i solve that somwhere in the config?
    Regards Sandro

  • 22
    Threaded Comment + Paged Comment at . 0 8 2 N e T .

    [...] 옮겨오면서 방명록을 하나 만들어보려고 사방 팔방을 돌아다니던중… 두가지 플러그 인을 발견하고 이제 됬구만~ 안심을 했는데…전혀?? 없으니.. 혼자 해결할 능력이 안되는 저로서 막막하기만 하다는… ;( 초보적인 생각으로 고민해본 결과는… paged 플러그인이 thread된갯수는 무시하고 메인(母)이 되는 코멘트의 갯수만 인식하게 할 수 있다면… 그러니까 메인이 되는 코멘트 갯수만 5개이고 그 5개의 코멘트에해도.. 그냥 한 페이지에 표시되게만 할 수 있다면, 문제는 해결 되는것… 물론.. 생각만으로 끝… 더 이상 생각을 발전시키거나 실행에불가능… ㅎㅎㅎㅎㅎ P.S. 혹시라도 힌트가 될만한 사항이 있으시면 찔러주세요~~;)   #     [...]

  • 21
    Martin

    You wrote:
    “Some themes (for example, K2) include a page template and a “page with comments” template. This gives you the option of selecting the appropriate template within WordPress when creating a new page.”

    In my template i dont have that option. I still havent figured this out. I can see my wp-paged-comments.php in the theme editor but when i create a new page i have only the link and archive page but in in the “Custom Fields” where i can “Add a new custom field to this post” there i can see the wp-page-template. but i cant do anything with it.

    I have set the Comments per page to 5 and the Page range to 5 and i have 11 comments in my “guestbook”. but it doesnt show any comments per page. i thought it worked but it didnt.

    I have copy over the “comments_template()” with ”
    ” and i did it on the the single.php.

    thanks

Pages: « 7511 10 9 8 7 6 5 4 [3] 2 1 » Show All

Leave a Reply