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

16 lines
348 B
PHP
Raw Normal View History

<?php
/**
* The Content Sidebar.
*
* @package WordPress
* @subpackage Twenty_Fourteen
*/
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 -->