瀏覽代碼

fix spacing

Ben Dwyer 4 年之前
父節點
當前提交
1f1d68778d
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      brompton/template-parts/footer/footer-content.php

+ 6 - 6
brompton/template-parts/footer/footer-content.php

@@ -5,14 +5,14 @@
 			$template->output_template_content( A8C\FSE\WP_Template::FOOTER );
 		else : // Otherwise we'll fallback to the default Varia footer below.
 			?>
-			
+
 	<footer id="colophon" class="site-footer">
-		<?php
-		if ( ! ( true === get_theme_mod( 'hide_site_footer', false ) && is_front_page() && is_page() ) ) : // If this is the homepage and the footer elements are set to hide, don't load this part.
-			get_template_part( 'template-parts/footer/footer', 'widgets' );
-			get_template_part( 'template-parts/footer/footer', 'navigation' );
+			<?php
+			if ( ! ( true === get_theme_mod( 'hide_site_footer', false ) && is_front_page() && is_page() ) ) : // If this is the homepage and the footer elements are set to hide, don't load this part.
+				get_template_part( 'template-parts/footer/footer', 'widgets' );
+				get_template_part( 'template-parts/footer/footer', 'navigation' );
 		endif;
-		?>
+			?>
 	<?php endif; ?>
 
 		<div class="site-info">