Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Maximum Number of Comments

Sets the maximum number of comments allowed to display in each post. Provides a link to show the remaining comments.

  1. Decompress the files to the /wp-content/plugins/ directory.
  2. Confirm that the plugin content is on the directory maximum-number-of-comments.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Edit the comments.php file of your theme.
  5. Delete the comment block starting with <?php if ($comments) : ?> and ending with <?php endif; ?>.
  6. Write in its place <?php MaximumComments(2, $comments, $oddcomment) ?>, were:

    1. the number 2 represents the maximum number of comments displayed (can be any value).
    2. the constant $comments should not be changed.
    3. for the constant $oddcomment, if it doesn't appear previouly on the comments.php file just write 'alt' instead.

Compatible up to: 2.7
Last Updated: 8 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.