Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
phpEnter 5.1.
Udemy Clone script 2.01
VisualNEO Web 19.11.7
VisualNEO for Windows 19.4.29.0
SentiVeillance SDK Trial 7.3
Devart ODBC Driver for PostgreSQL 3.2
SecureBridge 9.2
dotConnect for QuickBooks 1.9
dotConnect for Magento 1.9
dotConnect for Zoho CRM 1.10
dotConnect for FreshBooks 1.10
IP2Location Geolocation Database January.2020
dotConnect for BigCommerce 1.10
HTMLPad 2020 16.0
WeBuilder 2020 16.0
Top Code
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Report About Maximum Number of Comments 1.0
- required fields

Please enter text on the image
  



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

All the comments above the defined maximum number are hidden. By clicking on the link 'Click here to see the remaining comments' they will be shown.

On the Plugin homepage you will find these description and instructions:

* in English
* in Portuguese

# n English
# in Portuguese
installation :


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.

Back