Skip to content

Instantly share code, notes, and snippets.

@studiopress
Created September 28, 2017 15:15
Show Gist options
  • Save studiopress/cf34d07724b2357015c3c1b42a78fa0a to your computer and use it in GitHub Desktop.
Save studiopress/cf34d07724b2357015c3c1b42a78fa0a to your computer and use it in GitHub Desktop.
Register widget area for newsletter section.
<?php
// Do NOT include the opening php tag.
// Register Newsletter widget area.
genesis_register_sidebar( array(
'id' => 'newsletter',
'name' => __( 'Newsletter', 'theme-name' ),
'description' => __( 'This is the newsletter widget area.', 'theme-name' ),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment