Boys, the calendar turned to August this morning. After reading FSU’s brilliant (and since deleted) tweet earlier this week, I knew that Augus
$num_comments = get_comments_number(); // get_comments_number returns only a numeric value if ( comments_open() ) { if ( $num_comments == 0 ) { $comments = __('No Comments'); } elseif ( $num_comments > 1 ) { $comments = $num_comments . __(' Comments'); } else { $comments = __('1 Comment'); } $write_comments = ''. $comments.''; } else { $write_comments = __('Comments are off for this post.'); } echo $write_comments; ?>Quick disclaimer and acknowledgement that I gave bad directions to a PAX joining us for the first time at Hawksnest #thanksgoogle Mosey down
$num_comments = get_comments_number(); // get_comments_number returns only a numeric value if ( comments_open() ) { if ( $num_comments == 0 ) { $comments = __('No Comments'); } elseif ( $num_comments > 1 ) { $comments = $num_comments . __(' Comments'); } else { $comments = __('1 Comment'); } $write_comments = ''. $comments.''; } else { $write_comments = __('Comments are off for this post.'); } echo $write_comments; ?>