Last active
February 1, 2018 08:25
-
-
Save kirasiris/db02f78c3a4303e70ad22afb086a8c6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="alert alert-info"> | |
<p> | |
<?php | |
$numcomms = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'"); | |
if (0 < $numcomms) $numcomms = number_format($numcomms); echo "Hay <span>".$numcomms."</span> comentarios en total en "; bloginfo('name'); | |
?> | |
</p> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment