Created
May 30, 2018 05:22
-
-
Save braddalton/1bd36b2a5b42adb560d6dd55cd3279e5 to your computer and use it in GitHub Desktop.
Add After Entry Widget Area Before Footer On Front Page
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
add_action( 'genesis_before_footer', 'genesis_after_entry_widget_area_home' ); | |
function genesis_after_entry_widget_area_home() { | |
if ( ! is_front_page() ) { | |
return; | |
} | |
genesis_widget_area( 'after-entry', array( | |
'before' => '<div class="after-entry widget-area">', | |
'after' => '</div>', | |
) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment