Posted by José Lopes.
This plugin enables the setting of a maximum number of comments allowed to display in each post. In addition, it provides a link to expand the comments showing all the remaining ones.
The problem of posts with many comments was placed to the plugin Hide or Show Comments comments, where it was asked the possibility of showing only some comments with a link to show the remaining list, like the plugin Hide or Show Comments feature.
Though this funcionality may be implemented by changing and adding code to the PHP file comments.php, I find that a new plugin would help more.
Download
You can download one of the files that serves you better:
You may also find this Plugin in the Wordpress repository at Maximum Number of Comments.
Installation
<?php if ($comments) : ?> ... ... <?php endif; ?>
<?php MaximumComments(2, $comments, $oddcomment) ?>where:
Final note
This plugin can be also used, with no problem, combined with the plugin Hide or Show Comments.
Deixe a sua mensagem:
Wonderful plugin. But I have a suggestion which I'm you can do easily as a separate plugin or within this same one.
How about putting a limit to the number of posts users (based on their access level preferably) are allowed to post every day/week/month?
I've been looking for such plugin for ages and never found one. But I'm sure a lot of collective blogs would appreciate it.
What do you think, man?
Cheers,