Skip to content

Instantly share code, notes, and snippets.

@jamiemitchell
Created October 20, 2013 07:46
Show Gist options
  • Save jamiemitchell/7066159 to your computer and use it in GitHub Desktop.
Save jamiemitchell/7066159 to your computer and use it in GitHub Desktop.
Register some example widget areas in Genesis
<?php
/* Register widget areas
------------------------------------------------------------ */
genesis_register_sidebar( array(
'id' => 'home-welcome',
'name' => __( 'Home Welcome', 'jmd' ),
'description' => __( 'This is the home welcome section.', 'jmd' ),
) );
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home Top', 'jmd' ),
'description' => __( 'This is the home top section.', 'jmd' ),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment