Problem with comments_number() July 14, 2022 by Tarik Billa You want to use get_comments_number() as that doesn’t echo the results, while comments_number does echo