WordPress Paged Comments Plugin
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
- Version 2.6.4 (2007-07-31) (zip file) Release Notes
- View code at the WP Plugin Repository
- Work in progress: Ajax-style Paged Comments (no download yet)
Related Downloads
- WP-Guestbook (by Frank Bültge)
- Paged Threaded Comments (by Zhou Qingbo)
- tp-guestbook (by 082net)
- Threaded and Paged Comments (by Trustin Lee)
- Guestbook Templates (by Jennifer)
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.
- Download and extract plugin files to a folder locally.
- Edit paged-comments-config-sample.php to configure, then save the file as paged-comments-config.php.
- Upload the whole paged-comments directory to /wp-content/plugins/. The plugin files should now be in /wp-content/plugins/paged-comments/.
- Enable the plugin through the WordPress admin interface. That’s it for WordPress 2 users!
- 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
- Thank You Stephen Colbert (over 60,000 comments!)
- Demo page
- Ajax demo
- White Town guestbook
- 10 most popular torrent sites of 2007
Questions?
- Read the FAQ and if it’s not answered…
- Leave a comment or email: keyvan (at) k1m.com
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.)
[...] 》, 除了该文中提到的几个插件, 还有一个插件也是冲突的, 就是paged comments, 其他的我还没有发现, 应该还有。 Q: [...]
[...] comentarii si ceva probleme 20 Aprilie 2008 13:44 Paged Comments e fara doar si poate un plugin util cand ai posturi cu sute sau mii de comentarii - scurteaza mult [...]
Hi Keyvan,, I’m trying out the plugin right now on my web site. It works fine but I’ve ran into a problem. I’ve searched here and on the web for a solution but I have not found one.
My problem is with linking to comments. I have links in some posts which are in the form <a href=”#comment-1234″ rel=”nofollow”>. Now they no longer work because the URL for the page the user is currently watching gets prepended. So if the comment is really on page 10 but the user is watching page 11, then the href above turns into a URL of the form …/comments-page-11/#comment-1234
What is the solution? Am I to use a special syntax to link to comments? Have I hit onto a real problem?
Thanks,
Louis
OK, disregard my other comment, I modified my existing comment.php to include the code in the SVN and my layout is now fantastic.
Tell me something though, is: <a href=”" title=”"> necessary? All it does is turn my boxed comment header into a link…
Thanks,
Gene
Hi Keyvan,
Nice concept but would need a little “fine tuning”. I have a 3-column theme and even though I transfered comment-paged.php (default and tried all of the others), the layout isn’t good, the text is way too close to my sidebars.
Wouldn’t it be a good idea to implement a CSS to this template so the user may adjust margins, padding, etc.?
Thanks,
Gene
i installed this plugin but i want to display the comment’s order number on the top-right, similar to yours. plz help me to do that.
[...] (1)KEYVANサイトさんよりVersion 2.6.4 (2007-07-31) (zip file) をダウンロードしました。 「paged-comments」ホルダに paged-comments-config-sample.phpファイル paged-comments.phpファイル languagesホルダ themesホルダ readme.txt の5点が格納されています。 [...]
[...] Paged Comments - When posts easily get 300 comments the pages can have a tendency to get long. We limit things down to 50 per page. [...]
Installed on 2.5 but fancy_url does not work. All links end up on default page.
Hi, I tried to use this plugin on a Wordpress Mu instalation. and it’s not working… are there any ways to fix this ?