Created
June 11, 2013 16:17
-
-
Save woogist/5758279 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
register_sidebar( array( 'name' => __( 'Header Widget', 'woothemes' ), 'id' => 'header-widget', 'description' => __( 'The default header widget area for your theme.', '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
Register header widget code for KB article - http://support.woothemes.com/entries/22522286-How-to-add-a-widgetized-area-to-your-theme