Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Register a widget area for your site using the Genesis Framework.
//* Do NOT include the opening php tag
//* Register widget area
genesis_register_sidebar( array(
'id' => 'sample',
'name' => __( 'Sample', 'custom-theme-text-domain' ),
'description' => __( 'This is the sample widget area description.', 'custom-theme-text-domain' ),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment