Created
March 6, 2022 13:38
-
-
Save ahmedeshaan/440669d8ad9b80a2a868c1b670c9f0ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Do not include this if already open! | |
/** | |
* Code goes in theme functions.php | |
*/ | |
function holiday_message_before_header() { | |
?> | |
<div class="header-block"> | |
<?php echo do_shortcode( '[block id="holidays-message"]' ); ?> | |
</div> | |
<?php | |
} | |
add_action( 'flatsome_before_header', 'holiday_message_before_header', 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.