themes-wordpress/button-2/sidebar.php
2018-02-27 14:17:52 +11:00

16 lines
353 B
PHP

<?php
/**
* The sidebar containing the main widget area.
*
* @package Button 2
*/
if ( ! is_active_sidebar( 'sidebar-1' ) && ! has_nav_menu( 'jetpack-social-menu' ) ) {
return;
}
?>
<div id="secondary" class="widget-area" role="complementary">
<?php button_2_social_menu(); ?>
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->