Last active
March 15, 2021 04:28
-
-
Save KaineLabs/597c394473e809fa20d1cd27949a150a to your computer and use it in GitHub Desktop.
Thrive Theme Fix
This file contains 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 | |
// Thrive Theme Before Content Code | |
function yzc_thrive_theme_before_content() { | |
echo '<div id="wrapper" class="tcb-style-wrap">'; | |
$thrive = new Thrive_Template(); | |
echo $thrive->render_theme_hf_section( THRIVE_HEADER_SECTION ); | |
} | |
add_action( 'youzify_before_youzify_template_content', 'yzc_thrive_theme_before_content' ); | |
// Thrive Theme After Content Code | |
function yzc_thrive_theme_after_content() { | |
$thrive = new Thrive_Template(); | |
echo $thrive->render_theme_hf_section( THRIVE_FOOTER_SECTION ); | |
echo '</div>'; | |
} | |
add_action( 'youzify_after_youzify_template_content', 'yzc_thrive_theme_after_content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment