Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 41 lines (38 sloc) 1.11 KB
<?php
/**
* Twenty'em WordPress Framework.
*
* WARNING: This file is part of Twenty'em WordPress Framework.
* DO NOT edit this file under any circumstances. Do all your modifications in the form of a child theme.
*
* @package WordPress
* @subpackage Twenty'em
* @author RogerTM
* @license license.txt
* @link https://themingisprose.com/twenty-em
* @since Twenty'em 1.0
*/
/**
* The template for the sidebar containing the alternative widget area.
*/
if ( in_array( t_em( 'layout_set' ), array(
'three-columns-content-left',
'three-columns-content-right',
'three-columns-content-middle' ) ) ) :
/* The alternative widget area is triggered if have widgets.
* So let's check that first.
*/
if ( ! is_active_sidebar( 'sidebar-alt' ) ) return;
?>
<section id="sidebar-alt" role="complementary" <?php t_em_breakpoint( 'sidebar-alt' ); ?>>
<?php do_action( 't_em_action_sidebar_alt_before' ); ?>
<?php
if ( is_active_sidebar( 'sidebar-alt' ) ) :
dynamic_sidebar( 'sidebar-alt' );
endif;
?>
<?php do_action( 't_em_action_sidebar_alt_after' ); ?>
</section><!-- #sidebar-alt -->
<?php
endif;
?>