Created
March 12, 2013 04:19
-
-
Save braddalton/5140327 to your computer and use it in GitHub Desktop.
This PHP code is a copy of the PHP code used to register widgets in the functions.php file. Copy the code and rename all instances of home to custom and paste at the end of your child themes functions.php file.
This file contains hidden or 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 areas */ | |
genesis_register_sidebar( array( | |
'id' => 'custom-top', | |
'name' => __( 'Custom Top', 'magazine' ), | |
'description' => __( 'This is the custom top section.', 'magazine' ), | |
) ); | |
genesis_register_sidebar( array( | |
'id' => 'custom-left', | |
'name' => __( 'Custom Left', 'magazine' ), | |
'description' => __( 'This is the custom left section.', 'magazine' ), | |
) ); | |
genesis_register_sidebar( array( | |
'id' => 'custom-right', | |
'name' => __( 'Custom Right', 'magazine' ), | |
'description' => __( 'This is the custom right section.', 'magazine' ), | |
) ); | |
genesis_register_sidebar( array( | |
'id' => 'custom-bottom', | |
'name' => __( 'Custom Bottom', 'magazine' ), | |
'description' => __( 'This is the custom bottom section.', 'magazine' ), | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment