Hi,
Here is the code to display average number of comments per post in wordpress blog:
<?php
$avcomms = round($numposts/$numcomms);
?>
<?php echo “There is an average of “.$avcomms.” comments per post.”; ?>
Thanks,
Shane G.
Hi,
Here is the code to display average number of comments per post in wordpress blog:
<?php
$avcomms = round($numposts/$numcomms);
?>
<?php echo “There is an average of “.$avcomms.” comments per post.”; ?>
Thanks,
Shane G.
Powered by WordPress Wordpress Themes | Best Free Wordpress Themes | Top Wordpress layouts
Best WordPress Themes, WordPress News, WordPress Articles and Wordpress Layouts
Leave a Reply
You must be logged in to post a comment.