DATE: 2023-02-15 AO: Anvil Q: lorax PAX: Erin Brokavich, Mr. Magoo, Pilgrim, lorax, Alex-Spliff FNGs: 1 Alex-Spliff COUNT: 5 WARMUP: Mosey to the
$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; ?>