Skip to content

Commit c520dbe

Browse files
authored
Update page.php
1 parent 3c62e25 commit c520dbe

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

page.php

+8-7
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33

44
<?php
55
$hovercraft_homepage_hide_main_checked = get_theme_mod( 'hovercraft_homepage_hide_main' ) ? true : false;
6-
if ( !is_front_page() || ( is_front_page() && !$hovercraft_homepage_hide_main_checked ) ) {
6+
if ( !is_front_page() || ( is_front_page() && $hovercraft_homepage_hide_main_checked != true ) ) {
77
?>
88

99
<div id="main">
1010
<div class="inner">
11-
11+
1212
<?php
1313
$hovercraft_sidebar_status_checked = get_theme_mod( 'hovercraft_sidebar_status' ) ? true : false;
14-
if ( $hovercraft_sidebar_status_checked ) { ?>
14+
if ( $hovercraft_sidebar_status_checked == true ) { ?>
1515
<div id="primary">
1616
<?php } else { ?>
1717
<div id="primary-wide">
1818
<?php } ?>
1919

2020
<div id="content-wrapper">
21-
21+
2222
<?php get_template_part( 'template-parts/content/featured-image' ); ?>
2323

2424
<div id="content-padded">
@@ -29,20 +29,21 @@
2929
<?php get_template_part( 'template-parts/content/comments' ); ?>
3030
<div class="clear"></div>
3131
</div><!-- content-padded -->
32+
3233
</div><!-- content-wrapper -->
3334

3435
<div class="clear"></div>
3536
</div><!-- primary -->
36-
37+
3738
<?php
3839
if ( get_theme_mod( 'hovercraft_sidebar_status' ) == 1 ) {
3940
get_template_part( 'sidebar' );
4041
} ?>
41-
42+
4243
<div class="clear"></div>
4344
</div><!-- inner -->
4445
</div><!-- main -->
4546

46-
<?php } // endif is_front_page ?>
47+
<?php } //endif is_front_page ?>
4748

4849
<?php get_template_part( 'footer' ); ?>

0 commit comments

Comments
 (0)