Created
August 24, 2019 14:13
-
-
Save topleague/2383085d5efe55505cb1cfa671d66ef6 to your computer and use it in GitHub Desktop.
Move Genesis After Entry Widget to Inside Post Entry
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
// Move Genesis After Entry Widget to Inside Post Entry | |
// https://amethystwebsitedesign.com/move-genesis-after-entry-widget-to-inside-post-entry/ | |
// Add support for after entry widget | |
add_theme_support( 'genesis-after-entry-widget-area' ); | |
// Remove the after entry widget from after blog post entry | |
remove_action( 'genesis_after_entry', 'genesis_after_entry_widget_area' ); | |
// Add the after entry widget at the end of the post content | |
add_action( 'genesis_after_entry', 'genesis_after_entry_widget_area', 9 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment