Skip to content

Instantly share code, notes, and snippets.

<?php // Do Not include this line
// Home feature widget section
function sc_home_do_featured() {
if ( is_active_sidebar( 'home-featured-full' ) || is_active_sidebar( 'home-featured-left' ) || is_active_sidebar( 'home-featured-right' ) ) {
echo '<section id="home-featured" class="clearfix"><div class="wrap">';
genesis_widget_area( 'home-featured-full', array(
<?php // Do Not include this line
// Home page widgets
genesis_register_sidebar( array(
'id' => 'home-featured-full',
'name' => __( 'Home Featured Full', 'CHILD_THEME_NAME' ),
'description' => __( 'This is the featured area if you want full width.', 'CHILD_THEME_NAME' ),
) );
genesis_register_sidebar( array(
'id' => 'home-featured-left',
/*
Home Widgets
---------------------------------------------------------------------------------------------------- */
#home-middle,
#home-featured,
#home-bottom {
clear: both;
margin: 0 32px 16px 32px;
}