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

749 Responses to “WordPress Paged Comments Plugin”

Pages: « 75 74 73 72 [71] 70 69 68 67 66 651 » Show All

  • 710
    Dan

    Hi Rob, I do have permalinks set up and working. Just not the right settings!

    After experimenting with the WP permalinks settings, I found that a custom format was the problem. I don’t need it, so I’m using one of the presets.

    Using a preset instead of a custom setting doesn’t actually change the permalinks for pages, but fixes the problem nonetheless.

    So the plugin is working fine now.

  • 709
    Tim McLean Memorial Tribute

    Hello Keyvan,

    Just a heads-up to thank you again for this great plugin.

    I can confirm that we have the Paged Comments 2.7.1 working just fine with WordPress 2.6 and the K2 theme (v1.0-RC7) over at http://www.timmclean.org <- a memorial tribute site.

    BTW, Dan, just below me…. do you have Permalinks set up and working correctly in your WordPress installation? We have fancy URLs working properly.

    Cheers,
    Rob

  • 708
    Dan

    Hi,

    I’m having trouble with the links to pages and comments.

    If fancy_urls is set to true, the page navigation doesn’t work. Currently I have 5 comments per page, and the links to the pages are in the format:

    /comments/comment-page-1/#comments

    However, the links all go to:

    /comments#comments

    If fancy_urls is turned off, the links to pages are in the format:

    ?page_id=107&cp=1#comments

    and they go to:

    /comments?cp=1#comments

    (/comments is a page I have created for feedback - like a guestbook)

    I’m using Wordpress Version 2.6.

    Any ideas?

  • 707
    Pagination des commentaires | Le techno-blogue à Steph!

    [...] un moment donné, ça suffit! J’ai ajouté un plugin de pagination des commentaires pour éviter que les pages avec plusieurs commentaires aient 3 km de long et prennent 10 minutes à [...]

  • 706
    Keyvan

    TonyN: If the default comments-paged.php is not compatible with your theme, you’ll have to create a custom template file. This involves a bit more work. The easiest way is to save a copy of /wp-content/themes/tiga-06/comments.php as /wp-content/themes/tiga-06/comments-paged.php. Then edit this comments-paged.php file and copy in the paging code from the default comments-paged.php file. You can see an example of changes made to the default comments-paged.php file to enable paging. Yours won’t be exactly the same, but it shouldn’t differ too much.

    Dave: If that’s another plugin, I don’t have time right now to look into compatibility issues.

    A Cowboy’s Wife: You should be able to remove gravatars by editing comments-paged.php and removing the line that pulls in gravatars.

  • 705
    TonyN

    Keyvan,

    Update on #701: I have now tried ver 2.6, but with the same results.

  • 704
    A Cowboy's Wife

    Is there a way to remove the gravatars?? I don’t want that and they’re slowing my page down.

  • 703
    Dave

    Thanks for this, is there a way to make this work with Sexy Comments?

    Thanks again

  • 702
    Solución a títulos repetidos por la paginación en WordPress =A= Aeromental

    [...] Paged Comments [...]

  • 701
    TonyN

    Keyvan

    Re #698 and #699, Many thanks.

    I have tried putting comments-paged.php from Page Comments version 2.5 in the /blog/wp-content/themes/tiga-06, which I assume is what you were suggesting. This gets rid of the ‘Call to undefined function: get_avatar()’ error message and the comments etc are displayed, but without any formatting. They just display right across the window over the default background of the theme, not in the comment area.

    Any suggestions, or am I asking the impossible?

    I cannot find a download of Paged Comments version 2.6

Pages: « 75 74 73 72 [71] 70 69 68 67 66 651 » Show All

Leave a Reply