Skip to content

Instantly share code, notes, and snippets.

@davechu
Last active August 29, 2015 14:05
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 davechu/de2f55eb0ddaa67621ec to your computer and use it in GitHub Desktop.
Save davechu/de2f55eb0ddaa67621ec to your computer and use it in GitHub Desktop.
For Krystof, a way to surround .site-inner with SECTION tags.
add_action( 'genesis_after_header', 'dc_put_in_my_section' );
function dc_put_in_my_section() {
echo '<section>';
}
add_action( 'genesis_before_footer', 'dc_put_in_my_section_two' );
function dc_put_in_my_section_two() {
echo '</section>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment