mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-26 02:57:45 +01:00
7d35419e62
A magazine theme with clean, responsive design focused on highlighting featured content prominently on home page. This is slated for 3.8. Development will occur in trunk for the theme, and in plugins for the nice-to-have features. Nice-to-have improvements include: - Add a Contributors page template to highlight authors. - Easy-to-manage featured content. - Add support for an Authors widget to highlight authors. Welcome, Twenty Fourteen né Further. Props iamtakashi, see #24858. git-svn-id: http://core.svn.wordpress.org/trunk@24832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
48 lines
1.5 KiB
PHP
48 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* The Sidebar containing the main widget areas.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Fourteen
|
|
*/
|
|
?>
|
|
<?php
|
|
if ( ! is_active_sidebar( 'sidebar-3' )
|
|
&& ! is_active_sidebar( 'sidebar-4' )
|
|
&& ! is_active_sidebar( 'sidebar-5' )
|
|
&& ! is_active_sidebar( 'sidebar-6' )
|
|
&& ! is_active_sidebar( 'sidebar-7' )
|
|
)
|
|
return;
|
|
?>
|
|
<div id="supplementary" <?php twentyfourteen_footer_sidebar_class(); ?>>
|
|
<?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
|
|
<div id="footer-sidebar-one" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-3' ); ?>
|
|
</div><!-- #first .widget-area -->
|
|
<?php endif; ?>
|
|
|
|
<?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?>
|
|
<div id="footer-sidebar-two" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-4' ); ?>
|
|
</div><!-- #second .widget-area -->
|
|
<?php endif; ?>
|
|
|
|
<?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
|
|
<div id="footer-sidebar-three" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-5' ); ?>
|
|
</div><!-- #third .widget-area -->
|
|
<?php endif; ?>
|
|
|
|
<?php if ( is_active_sidebar( 'sidebar-6' ) ) : ?>
|
|
<div id="footer-sidebar-four" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-6' ); ?>
|
|
</div><!-- #fourth .widget-area -->
|
|
<?php endif; ?>
|
|
<?php if ( is_active_sidebar( 'sidebar-7' ) ) : ?>
|
|
<div id="footer-sidebar-five" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-7' ); ?>
|
|
</div><!-- #fourth .widget-area -->
|
|
<?php endif; ?>
|
|
</div><!-- #supplementary -->
|