forked from mirror/_s
_s: Use verbose syntax for conditionals in templates.
This commit is contained in:
parent
6264437ff9
commit
d9ece3b804
4
page.php
4
page.php
|
@ -21,9 +21,9 @@ get_header(); ?>
|
|||
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template
|
||||
if ( comments_open() || '0' != get_comments_number() ) {
|
||||
if ( comments_open() || '0' != get_comments_number() ) :
|
||||
comments_template();
|
||||
}
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
|
|
@ -18,9 +18,9 @@ get_header(); ?>
|
|||
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template
|
||||
if ( comments_open() || '0' != get_comments_number() ) {
|
||||
if ( comments_open() || '0' != get_comments_number() ) :
|
||||
comments_template();
|
||||
}
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
|
Reference in New Issue