Skip to content

Instantly share code, notes, and snippets.

@studiopress
Last active September 21, 2017 13:43
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