<?php
/**
 * The sidebar containing the maon widget areas.
 *
 * @package Ef Practical
 */
?>

<aside id="right-sidebar" class="sidebar widget-area col-md-3 order-md-3" role="complementary">
    
    <?php if ( is_active_sidebar( 'sidebar-right' ) ) : ?>
        <?php dynamic_sidebar( 'sidebar-right' ); ?>
    <?php else : ?>
        <?php
            the_widget( 'WP_Widget_Search', 'title=Search', array(
                'before_widget'	=> '<section class="widget cf widget_search">',
                'after_widget' 	=> '</section>',
                'before_title' 	=> '<h3 class="widget-title">',
                'after_title' 	=> '</h3>'
            ) );
            the_widget( 'WP_Widget_Archives', 'title=Archives', array(
                'before_widget'	=> '<section class="widget cf widget_archive">',
                'after_widget' 	=> '</section>',
                'before_title' 	=> '<h3 class="widget-title">',
                'after_title' 	=> '</h3>'
            ) );
        ?>
    <?php endif; ?>
    
</aside><!-- #right-sidebar -->