~canonical-sysadmins/wordpress/4.7.2

« back to all changes in this revision

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