Skip to content

Instantly share code, notes, and snippets.

@tomharrigan
Created November 29, 2012 03:02
Show Gist options
  • Save tomharrigan/4166504 to your computer and use it in GitHub Desktop.
Save tomharrigan/4166504 to your computer and use it in GitHub Desktop.
Register Widgets Template Sidebar
register_sidebar( array( 'name' => __( '"Widgets" Page Template', 'woothemes' ), 'id' => 'widgets-page-template', 'description' => __( 'The widgetized area used on the "Widgets" page template (displays only if widgets are added here). Defaults to page content if no widgets are added.', 'woothemes' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment