Skip to content

Commit 559b4eb

Browse files
authoredMay 7, 2024··
Fix header layout if option is not set (#578)
1 parent 1d3d02e commit 559b4eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎header.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'sunflower' ); ?></a>
3737

3838
<?php
39-
$sunflower_header_layout = sunflower_get_setting( 'sunflower_header_layout' ) ?? 'standard';
39+
$sunflower_header_layout = sunflower_get_setting( 'sunflower_header_layout' ) ? sunflower_get_setting( 'sunflower_header_layout' ) : 'standard';
4040

4141
get_template_part( 'template-parts/header', $sunflower_header_layout );
4242
?>

0 commit comments

Comments
 (0)
Please sign in to comment.