]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentysixteen/sidebar.php
WordPress 4.4
[autoinstalls/wordpress.git] / wp-content / themes / twentysixteen / sidebar.php
diff --git a/wp-content/themes/twentysixteen/sidebar.php b/wp-content/themes/twentysixteen/sidebar.php
new file mode 100644 (file)
index 0000000..d4d893e
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+/**
+ * The template for the sidebar containing the main widget area
+ *
+ * @package WordPress
+ * @subpackage Twenty_Sixteen
+ * @since Twenty Sixteen 1.0
+ */
+?>
+
+<?php if ( is_active_sidebar( 'sidebar-1' )  ) : ?>
+       <aside id="secondary" class="sidebar widget-area" role="complementary">
+               <?php dynamic_sidebar( 'sidebar-1' ); ?>
+       </aside><!-- .sidebar .widget-area -->
+<?php endif; ?>