Created
September 13, 2012 08:51
-
-
Save furahaclothing/3712995 to your computer and use it in GitHub Desktop.
wordpress-サイドバー毎に異なるウィジェットを使う-
This file contains 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
// Area 2, located below the Primary Widget Area in the sidebar. Empty by default. | |
register_sidebar( array(8, | |
'name' => __( 'Secondary Widget Area', 'テンプレート名' ), | |
'description' => __( 'The secondary widget area', 'テンプレート名' ), | |
'before_widget' => '<div id="%1$s" class="widget %2$s">', | |
'after_widget' => '</div>', | |
'before_title' => '<h2 class="widgettitle">', | |
'after_title' => '</h2>', | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment