Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created November 5, 2015 03:11
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/01ccc51b8eedccc21059 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/01ccc51b8eedccc21059 to your computer and use it in GitHub Desktop.
Rewrite the footer widgets with Genesis
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Rewrite the footer widgets with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/footer-widgets/
*/
remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
add_action( 'genesis_before_footer', 'your_function_here' ); // replace your_function_here with your function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment