Skip to content

Instantly share code, notes, and snippets.

@cdils
Last active December 15, 2015 17:29
Show Gist options
  • Save cdils/5296533 to your computer and use it in GitHub Desktop.
Save cdils/5296533 to your computer and use it in GitHub Desktop.
Custom Widget Areas for CTAS on carriedils.com
/** Register widget areas */
genesis_register_sidebar( array(
'id' => 'cta-1',
'name' => __( 'Call to Action #1', 'mp' ),
'description' => __( 'This is the call to action section.', 'mp' ),
) );
genesis_register_sidebar( array(
'id' => 'cta-2',
'name' => __( 'Call to Action #2', 'mp' ),
'description' => __( 'This is the call to action section.', 'mp' ),
) );
genesis_register_sidebar( array(
'id' => 'cta-3',
'name' => __( 'Call to Action #3', 'mp' ),
'description' => __( 'This is the call to action section.', 'mp' ),
) );
genesis_register_sidebar( array(
'id' => 'cta-4',
'name' => __( 'Call to Action #4', 'mp' ),
'description' => __( 'This is the call to action section.', 'mp' ),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment