WordPressを読む 108 /blog/wp-content/themes/twentytwelve/sidebar.php
/blog/wp-content/themes/twentytwelve/sidebar.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?php /** * The sidebar containing the main widget area * * If no active widgets are in the sidebar, hide it completely. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> <div id="secondary" class="widget-area" role="complementary"> <?php dynamic_sidebar( 'sidebar-1' ); ?> </div><!-- #secondary --> <?php endif; ?> |