Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created November 4, 2015 02:46
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 reasonstousegenesis/f112e36765fbb0fd43d9 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/f112e36765fbb0fd43d9 to your computer and use it in GitHub Desktop.
Pop the site footer out of the site container
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Pop the site footer out of the site container
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/rewrite-footer/
*/
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
add_action( 'genesis_after', 'genesis_footer_markup_open', 5 );
add_action( 'genesis_after', 'genesis_do_footer' );
add_action( 'genesis_after', 'genesis_footer_markup_close', 15 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment