Last change
on this file since 25624 was
25624,
checked in by lancewillett, 9 years ago
|
Twenty Fourteen: make the content sidebar optional and alter the layout to full-width if the sidebar is not active, but without adding wider featured image (for now). Props iamtakashi, closes #25031.
|
-
Property svn:eol-style set to
native
|
File size:
348 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * The Content Sidebar. |
---|
4 | * |
---|
5 | * @package WordPress |
---|
6 | * @subpackage Twenty_Fourteen |
---|
7 | */ |
---|
8 | if ( ! is_active_sidebar( 'sidebar-3' ) ) |
---|
9 | return; |
---|
10 | ?> |
---|
11 | <div id="content-sidebar" class="content-sidebar widget-area" role="complementary"> |
---|
12 | <?php do_action( 'before_sidebar' ); ?> |
---|
13 | |
---|
14 | <?php dynamic_sidebar( 'sidebar-3' ); ?> |
---|
15 | </div><!-- #content-sidebar --> |
---|
Note: See
TracBrowser
for help on using the repository browser.