~canonical-sysadmins/wordpress/4.7.4

« back to all changes in this revision

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