]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyfourteen/sidebar-content.php
WordPress 3.8
[autoinstalls/wordpress.git] / wp-content / themes / twentyfourteen / sidebar-content.php
diff --git a/wp-content/themes/twentyfourteen/sidebar-content.php b/wp-content/themes/twentyfourteen/sidebar-content.php
new file mode 100644 (file)
index 0000000..890baf4
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+/**
+ * The Content Sidebar
+ *
+ * @package WordPress
+ * @subpackage Twenty_Fourteen
+ * @since Twenty Fourteen 1.0
+ */
+
+if ( ! is_active_sidebar( 'sidebar-2' ) ) {
+       return;
+}
+?>
+<div id="content-sidebar" class="content-sidebar widget-area" role="complementary">
+       <?php dynamic_sidebar( 'sidebar-2' ); ?>
+</div><!-- #content-sidebar -->