Created
October 22, 2019 04:29
-
-
Save ahmedeshaan/c526037f64c69432cf26dea6ba3a5643 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
function holiday_message_before_header() { | |
?> | |
<div class="header-block"> | |
<?php echo do_shortcode( '[block id="YOUR BLOCK NAME"]' ); ?> | |
</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