Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add_action( 'genesis_entry_content', 'wpsites_after_post_widget', 14 );
function wpsites_after_post_widget() {
if ( is_single() ) {
genesis_widget_area( 'after-post', array(
'before' => '<div class="after-post" class="widget-area">',
'after' => '</div>',
) );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment