Add the following code to your WordPress theme’s function.php file, or a functionality plugin to insert a widget below the footer in Genesis.
/**
Register widget
*/
/** Register widget areas */
genesis_register_sidebar( array(
'id' => 'ft-highlights',
'name' => __( 'Footer Highlights', 'genesis' ),
'description' => __( 'This is the Footer Highlight text widget.', 'cfhlh' ),
) );
/**
Create and position widget
*/
/** Add Editable Footer Section */
add_action( 'genesis_after', 'footer_highlights', 10 );
function footer_highlights() {
genesis_widget_area( 'ft-highlights', array(
'before' => '<div class="ft-highlights widget-area">',
'after' => '</div>',
) );
}
Share Your Two Cents