Last active
December 10, 2015 09:28
-
-
Save cdils/4414767 to your computer and use it in GitHub Desktop.
Register a new widget area in a Genesis Framework site.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Register widget area */ | |
genesis_register_sidebar( array( | |
'id' => 'my-widget', // Feel free to use a more meaningful name here | |
'name' => __( 'My Widget', 'theme-slug' ), | |
'description' => __( 'This is a description of my new widget area', 'theme-slug' ), | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment