Skip to content

Instantly share code, notes, and snippets.

@KaineLabs
Created May 13, 2019 05:12
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/aa8183ee52197525cba03e0001569696 to your computer and use it in GitHub Desktop.
Save KaineLabs/aa8183ee52197525cba03e0001569696 to your computer and use it in GitHub Desktop.
OnAir Theme Fix
<?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