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

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

791 Responses to “WordPress Paged Comments Plugin”

Pages: « 8031 30 29 28 27 [26] 25 24 23 22 211 » Show All

  • 260
    WordPress - vse kar imajo veliki - Nasvet.com

    [...] V primerjavi z večino klasičnih spletnih strani boste imeli z uporabo WordPressa veliko prednost, saj boste lahko sami na enostaven način dodajali in spreminjali vsebino in sicer kadarkoli boste to želeli. Poleg tega boste lahko z objavo komentarjev, člankov ali novic skrbeli za vzdrževanje stalnega dialoga z vašimi obiskovalci, ki bodo lahko vaše prispevke tudi komentirali. Če bi želeli že vnaprej preprečili kakršnokoli nezaželeno smetenje s komentarji, ki se je v zadnjem času zelo razpasilo po spletnih strani, potem vključite dodatek Akismet, ki je že vključen v osnovno različico WordPressa. Za lep, predvsem pa pregleden izpis posredovanih komentarjev bo poskrbel dodatek Paged Comments (http://www.keyvan.net/code/paged-comments/), ki bo posredovane komentarje razbil na več strani. [...]

  • 259
    The Waste Land » 主題 » Keyvan WordPress Paged Comments Plugin 100%主題搭配

    [...] Keyvan WordPress Paged Comments Plugin 作者網站: http://www.keyvan.net/code/paged-comments/ [...]

  • 258
    Kyle Healey

    Thank you very much for sharing.

  • 257
    Jermaine

    I always have to install plugins in my daughters blog and she wants almost everything there is. But your is a good way to save time.

  • 256
    Keyvan

    Thanks all, for the comments and suggestions.

    Hoboken: Can you please repost what you replaced—the code for some reason wasn’t included in your comment.

    eyn: I removed that step when I released version 2.5, which looks for comments_template() and replaces it with the paged_comments_template() each time the template is loaded. Did you have problems running version 2.5 without manually editing your template file?

  • 255
    eyn

    One extra tips here from my personal experience. This plugin can actually help your SEO since search engine does not like huge pages. For example, I have a blog post that have over 400 comments so far, for a period the blog post just sort of disappeared from Google and after I implemented this plugin it goes back up to its original top search result position (after Google reindex the post). So yeah, you might consider adding this information to your main post to persuade those who are still wondering if they should implement this plugin for their fairly popular blog. ;)

  • 254
    eyn

    if (function_exists('paged_comments_template')) paged_comments_template(); else comments_template();

    The above code is very important and need to be inserted into single.php (and page.php as well if your page allows comment) to replace the original comments_template() in order for this plugin to work on many themes. I believe this should really be added to the installation instructions of the main post to save people trouble going through the comments to find this “essential” installation step.

    Anyway, awesome job on this plugin, thank you so much. My only complain would be the “missing” installation step that I mention above. Please please add it to your installation instruction and make life easier for those who are scratching their heads off trying to figure out which installation step they have messed up.

  • 253
    Hoboken411

    FYI, I reverse engineered the solution to my count problem.

    My non-standard theme had this code to display the comment count:

    I replaced that with:

  • 252
    Everton Blair

    Hi

    I want to use trackbacklist but your line that counts the comments counts the trackbacks as well, so the formatting is messed up. is there anyway of the count only tracking comments?

    EB

  • 251
    Alexander

    Thanks for this plugin

Pages: « 8031 30 29 28 27 [26] 25 24 23 22 211 » Show All

Leave a Reply