Return to Snippet

Revision: 24637
at March 6, 2010 07:56 by lassemahn


Initial Code
<?php
if (get_comments_number()==0) {
    // post has no comments
} else {
    // post has comments
}
?>

Initial URL

                                

Initial Description

                                

Initial Title
check if comments wordpress

Initial Tags
wordpress

Initial Language
PHP