Skip to content

Instantly share code, notes, and snippets.

@KaineLabs
Last active March 15, 2021 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KaineLabs/597c394473e809fa20d1cd27949a150a to your computer and use it in GitHub Desktop.
Save KaineLabs/597c394473e809fa20d1cd27949a150a to your computer and use it in GitHub Desktop.
Thrive Theme Fix
<?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