wp/wp-content/themes/twentythirteen/sidebar-main.php
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 16:11:51 +0000
changeset 4 346c88efed21
parent 0 d970ebf37754
child 7 cf61fcea0001
permissions -rw-r--r--
add blog-copier plugin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<?php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
 * The sidebar containing the footer widget area
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
 * If no active widgets in this sidebar, hide it completely.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
 * @package WordPress
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
 * @subpackage Twenty_Thirteen
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
 * @since Twenty Thirteen 1.0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
	<div id="secondary" class="sidebar-container" role="complementary">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
		<div class="widget-area">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
			<?php dynamic_sidebar( 'sidebar-1' ); ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
		</div><!-- .widget-area -->
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
	</div><!-- #secondary -->
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
<?php endif; ?>