Extra Widget Area After Content
if ( ! function_exists( 'add_extra_widget_area_after_content' ) ) {
// Register Sidebar
function add_extra_widget_area_after_content() {
$args = array(
'id' => 'extra-widget-area-after-content',
'name' => __( 'Extra Widget Area After Content', 'text_domain' ),
'description' => __( 'An extra 100% wide widget area after the page/post content wrapper.', 'text_domain' ),
'class' => 'extra-content',
'before_title' => '<h2>',
'after_title' => '</h2>',
'before_widget' => '<div class="widget extra-content">',
'after_widget' => '</div>',
);
register_sidebar( $args );
}
// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'add_extra_widget_area_after_content' );
}