~canonical-sysadmins/wordpress/4.7.4

« back to all changes in this revision

Viewing changes to wp-content/themes/twentytwelve/sidebar.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 sidebar containing the main widget area
 
4
 *
 
5
 * If no active widgets are in the sidebar, hide it completely.
 
6
 *
 
7
 * @package WordPress
 
8
 * @subpackage Twenty_Twelve
 
9
 * @since Twenty Twelve 1.0
 
10
 */
 
11
?>
 
12
 
 
13
        <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
 
14
                <div id="secondary" class="widget-area" role="complementary">
 
15
                        <?php dynamic_sidebar( 'sidebar-1' ); ?>
 
16
                </div><!-- #secondary -->
 
17
        <?php endif; ?>
 
 
b'\\ No newline at end of file'