Created
November 2, 2015 06:40
-
-
Save reasonstousegenesis/d92fe2532fad2fb3925c to your computer and use it in GitHub Desktop.
Add a widget area to the site footer with Genesis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Add a widget area to the site footer with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/site-footer/ | |
*/ | |
add_action( 'genesis_footer', 'rtug_footer_widget_area' ); | |
function rtug_footer_widget_area() { | |
genesis_widget_area( 'site-footer' ); // replace site-footer with your widget area ID | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment