Skip to content

Instantly share code, notes, and snippets.

@studiopress
Last active September 21, 2017 13:43
Show Gist options
  • Save studiopress/3bdb303740eec2cfbddaaac1f6f1efcd to your computer and use it in GitHub Desktop.
Save studiopress/3bdb303740eec2cfbddaaac1f6f1efcd to your computer and use it in GitHub Desktop.
Register widget area for photo grid.
<?php
// Do NOT include the opening php tag.
// Register Photo Grid widget area.
genesis_register_sidebar( array(
'id' => 'photo-grid',
'name' => __( 'Photo Grid', 'theme-name' ),
'description' => __( 'This is the photo grid widget area.', 'theme-name' ),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment