Skip to content

Instantly share code, notes, and snippets.

@studiopress
Created November 2, 2017 17:51
Show Gist options
  • Save studiopress/dcb0f30a18fe4da82a4e410a2dad3e4b to your computer and use it in GitHub Desktop.
Save studiopress/dcb0f30a18fe4da82a4e410a2dad3e4b 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