Keyvan Minoukadeh

WordPress Paged Comments Plugin

Filed under: General — Keyvan @ 12:24 am

WordPress Paged Comments is a plugin for WordPress 1.5 and 2.x to allow comment paging. Useful for those popular blog entries receiving many comments, or a simple guestbook page within WordPress.

Download — Latest Version

Related Downloads

Installation for WordPress 1.5 and 2.x

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. 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 for WordPress 2 users!
  5. WordPress 1.5 users: If you enabled the fancy_url feature in step 2, edit your .htaccess file and enter these lines:

    RewriteRule ^(.+/)comment-page-([0-9]+)/?$ $1?cp=$2 [QSA,L]
    RewriteRule ^(.+/)all-comments/?$ $1?cp=all [QSA,L]

    at the end of the file beneath the ‘#END WordPress’ marker (this ensures WordPress leaves the rule alone when updating the other rewrite rules).

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

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, freely available and open source, please only donate if you want to and can afford it.)

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

680 Responses to “WordPress Paged Comments Plugin”

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

  • 10
    Steph

    I found the call in the main template page, but yeah I’m not using the default theme, I’m using a customized version of Rin. The comments template looks to be quite modified from the default template, I think it would be too confusing and too much work for me to get it to match (afraid I’d FUBAR the whole thing). >_

  • 9
    Keyvan

    Hi Steph,

    You shouldn’t be editing the comments template itself, simply pointing to the alternative comments template (wp-paged-comments.php) provided with the plugin.

    You should have a folder called themes within the wp-content folder of your WordPress (WP) installation. Inside you’ll see further folders with names corresponding to the themes available to your WP site. Find the theme currently active on your site and inside the folder you’ll find the template files you’ll need to edit. These differ from theme to theme, some themes include single.php or page.php template files which you should edit, but if you can’t see these you should open all the PHP files within your theme folder and search for the comments_template() method call. Replace every instance of the method call as described in step 5 of the installation instructions.

    The alternative comments template you’ll be pointing to (wp-paged-comments.php) is based on comments.php from WP’s default theme. This shouldn’t be a problem as it only contains minimal HTML, but if the theme you’re using is heavily customised you might want to edit this file to resemble your theme’s own comments template.

    Creating a guestbook page is simply a matter of creating a WP page like any other (but with comments enabled) and designating it the guestbook within your site. You don’t even need this plugin if you’re happy having all your guestbook entries (ie. comments associated with your ‘guestbook’ page) appearing on a single page.
    If, however, your guestbook grows to hundreds or thousands of entries, you may not want to deluge visitors with everything on one page (bandwidth costs may also be a concern here), instead you have the option of enabling this plugin and serving up comments in smaller chunks.

    Hope that helps. Let me know how you get along.

  • 8
    Steph

    I’m a little lost here…I’m using wp 1.5.1.3 and I’m looking in the comments template for my theme…but I can’t figure out where I’m supposed to replace the code. I didn’t find anything like “comments_template()” in the file…where am I supposed to make the change? :\

    Also, how would I use this as a guestbook?

    Thanks.

  • 7
    Ampersand

    I’m afraid I’m pretty computer-illiterate. I installed this plug-in, and it’s working great; except that where I used to have numbered comments, since I installed this plug-in there’s a bullet and then a number. Also, the bullet and number now appear above the comment, rather than to the side of the comment as on a normal html ordered list.

    If you could suggest what I could do to use your plug-in, but also to get rid of the bullet and put the number back on the same level as the start of the comment, I’d appreciate it. Thanks!

  • 6
    culdesac

    thanx!

  • 5
    Chris Waigl

    Great plugin, thanks a lot for your work!

  • 4
    kristin

    Excellant plugin! I have a post that has over 500 comments and is such a pain on my server when it loads. This plugin has helped me out so much :)

  • 3
    Blooming Town » Plugin: Paged-Comments

    [...] 페이지로 나뉘어지는 플러그인 부러워하다가 결국 달았다. - 참고: WordPress Paged Comments Plugin -설치 * 플러그인 다운로드받기: redal [...]

  • 2
    geeksmakemehot.com » GuestBook Comments

    [...] very day, I decided my Guestbook was getting a little lengthy. I found a great new plugin Paged Comments. WordPress Paged Comments is a plugin for WordPress 1.5 to allow comment paging. Usef [...]

  • 1
    ChrisBunting.com » Blog Archive » Major site additions

    [...] and normally not visible, even through the admin interface. I’ve also installed the Paged Comments plugin by Keyvan Minoukadeh. This plugin is different from the above p [...]

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

Leave a Reply