In Genesis Slack chat a user asked:
Has anyone here created a full-width `after-entry` widget area? In other words:
|content |sidebar |
| after-entry |
| comments |
We can reposition author box, after entry widget area, adjacent entry navigation and comments from after entry to after content on single posts by removing the actions hooked to genesis_after_entry
and adding them to genesis_after_content
.
Step 1
Add the following in child theme’s functions.php:
// Reposition author box, after entry widget area, adjacent entry navigation and comments from after entry to after content on single posts
remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 );
add_action( 'genesis_after_content', 'genesis_do_author_box_single' );
remove_action( 'genesis_after_entry', 'genesis_after_entry_widget_area' );
add_action( 'genesis_after_content', 'genesis_after_entry_widget_area' );
remove_action( 'genesis_after_entry', 'genesis_adjacent_entry_nav' );
add_action( 'genesis_after_content', 'genesis_adjacent_entry_nav' );
remove_action( 'genesis_after_entry', 'genesis_get_comments_template' );
add_action( 'genesis_after_content', 'genesis_get_comments_template' );
Step 2
Add the following in child theme’s style.css:
.single .author-box {
clear: both;
}
References:
genesis/lib/structure/post.php
genesis/lib/structure/comments.php