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
Taxi App Development 7.3
RentALL-Airbnb clone script 1.8.0
VisualNEO Web 19.4.5
PHP Ecommerce Script 1.3.2
dbForge Studio for PostgreSQL 2.1
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Top Code
Paste phpSoftPro 1.4.1
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
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.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