So after hours of playing around, I think I figured out the necessary code. So for anyone interested in adding a comment count for each event in the agenda view, just add the following code anywhere in the agenda.php file. You will have to modify the file via FTP. Add the code where ever you want to to show the count. I personally wanted the count on the “Read More” button. Here is the code that I used (only the bolded code):
<?php _e( ‘Read more ยป’, AI1EC_PLUGIN_NAME ) ?>
<?php
$comments_count = wp_count_comments($event->post_id);
echo ” (“.$comments_count->approved .” Comments)” . “
“;
?>
?>
