<aside id="primary" class="sidebar-widget-area">
    <?php if (!is_active_sidebar('wpdevart_ai_and_saas_agency_wda_blog_sidebar')) { ?>
        <section id="search" class="widget widget_search">
            <h3 class="widget-title sidebar-widget-area-default-title"><?php esc_html_e('Search', 'ai-and-saas-agency-wda'); ?></h3>
            <?php get_search_form(); ?>
        </section>
        <section id="tags" class="widget widget_tag_cloud">
            <h3 class="widget-title sidebar-widget-area-default-title"><?php esc_html_e('Tag Cloud', 'ai-and-saas-agency-wda'); ?></h3>
            <?php wp_tag_cloud(); ?>
        </section>
        <section id="login" class="widget widget_meta">
            <h3 class="widget-title sidebar-widget-area-default-title"><?php esc_html_e('Login', 'ai-and-saas-agency-wda'); ?></h3>
                <?php wp_register(); ?>
                <li><?php wp_loginout(); ?></li>
        </section>
        <section id="archives" class="widget widget_archive">
            <h3 class="widget-title sidebar-widget-area-default-title"><?php esc_html_e('Archives', 'ai-and-saas-agency-wda'); ?></h3>
                <?php wp_get_archives(); ?>
        </section>
    <?php } else { dynamic_sidebar( 'wpdevart_ai_and_saas_agency_wda_blog_sidebar' ); } ?>
</aside>