~canonical-sysadmins/wordpress/4.6

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyfourteen/sidebar-content.php

  • Committer: Jacek Nykis
  • Date: 2015-01-05 16:17:05 UTC
  • Revision ID: jacek.nykis@canonical.com-20150105161705-w544l1h5mcg7u4w9
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * The Content Sidebar
 
4
 *
 
5
 * @package WordPress
 
6
 * @subpackage Twenty_Fourteen
 
7
 * @since Twenty Fourteen 1.0
 
8
 */
 
9
 
 
10
if ( ! is_active_sidebar( 'sidebar-2' ) ) {
 
11
        return;
 
12
}
 
13
?>
 
14
<div id="content-sidebar" class="content-sidebar widget-area" role="complementary">
 
15
        <?php dynamic_sidebar( 'sidebar-2' ); ?>
 
16
</div><!-- #content-sidebar -->