summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentyfourteen/sidebar-content.php')
-rw-r--r--themes/twentyfourteen/sidebar-content.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/themes/twentyfourteen/sidebar-content.php b/themes/twentyfourteen/sidebar-content.php
new file mode 100644
index 00000000..890baf42
--- /dev/null
+++ b/themes/twentyfourteen/sidebar-content.php
@@ -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 -->