WordPress/wp-content/themes/twentyfourteen/sidebar-content.php

17 lines
377 B
PHP
Raw Normal View History

<?php
/**
* The Content Sidebar
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
if ( ! is_active_sidebar( 'sidebar-2' ) )
return;
?>
<div id="content-sidebar" class="content-sidebar widget-area" role="complementary">
<?php do_action( 'before_sidebar' ); ?>
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</div><!-- #content-sidebar -->