Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save braddalton/5479998 to your computer and use it in GitHub Desktop.
Save braddalton/5479998 to your computer and use it in GitHub Desktop.
//This code gets added to the end of the home.php file before the genesis() tag.
function agency_home_full_helper() {
if ( is_active_sidebar( 'full-content' ) ) {
echo '<div id="full-content">';
dynamic_sidebar( 'full-content' );
echo '</div><!-- end #full-content -->';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment