%PDF- %PDF-
Direktori : /var/www/projetos/prod.jornalshowdafe.com.br/wp-content/themes/__betheme/ |
Current File : /var/www/projetos/prod.jornalshowdafe.com.br/wp-content/themes/__betheme/sidebar.php |
<?php /** * Widgets area * * @package Betheme * @author Muffin group * @link https://muffingroup.com */ // class $lines = mfn_opts_get('sidebar-lines'); $class = $lines; if( 'lines-hidden' != $lines ){ $class .= ' has-lines'; } $class .= ' style-'. mfn_opts_get('sidebar-style','simple'); // output ----- $sidebar = mfn_sidebar(); if( isset( $sidebar['sidebar']['first'] ) ){ echo '<div class="mcb-sidebar sidebar sidebar-1 four columns '. esc_attr( $class ) .'" role="complementary" aria-label="Primary sidebar">'; echo '<div class="widget-area">'; echo '<div class="inner-wrapper-sticky clearfix">'; dynamic_sidebar( $sidebar['sidebar']['first'] ); echo '</div>'; echo '</div>'; echo '</div>'; } if( isset( $sidebar['sidebar']['second'] ) ){ echo '<div class="mcb-sidebar sidebar sidebar-2 four columns '. esc_attr( $class ) .'" role="complementary" aria-label="Secondary sidebar">'; echo '<div class="widget-area">'; echo '<div class="inner-wrapper-sticky clearfix">'; dynamic_sidebar( $sidebar['sidebar']['second'] ); echo '</div>'; echo '</div>'; echo '</div>'; }