Skip to content

Instantly share code, notes, and snippets.

@furahaclothing
Created September 13, 2012 08:51
Show Gist options
  • Save furahaclothing/3712995 to your computer and use it in GitHub Desktop.
Save furahaclothing/3712995 to your computer and use it in GitHub Desktop.
wordpress-サイドバー毎に異なるウィジェットを使う-
// 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