Created
May 13, 2019 05:12
-
-
Save KaineLabs/aa8183ee52197525cba03e0001569696 to your computer and use it in GitHub Desktop.
OnAir 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 | |
/** | |
* OnAir Theme Fix. | |
*/ | |
// OnAir Theme Before Content Code | |
function yzc_onair_theme_before_content() { | |
get_template_part( 'phpincludes/menu' ); | |
get_template_part( 'phpincludes/part-searchbar' ); | |
} | |
add_action( 'yz_before_youzer_template_content', 'yzc_onair_theme_before_content' ); | |
// OnAir Theme After Content Code | |
function yzc_onair_theme_after_content() { | |
get_template_part( 'phpincludes/footerwidgets' ); | |
get_template_part( 'phpincludes/part-player-sidebar' ); | |
} | |
add_action( 'yz_after_youzer_template_content', 'yzc_onair_theme_after_content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment