<?php
$options = inventive_WSH()->option();
$allowed_html = wp_kses_allowed_html( 'post' );
?>    


<div class="content">
    <?php if($options->get('header_sidebar_title_v1') || $options->get('header_sidebar_text_v1')){ ?>
    <div class="about-widget-two sidebar-widget">
        <?php if($options->get('header_sidebar_title_v1')){ ?>
        <h3><?php echo wp_kses($options->get('header_sidebar_title_v1'), true); ?></h3>
        <?php } ?>
        <?php if($options->get('header_sidebar_text_v1')){ ?><div class="text"><?php echo wp_kses($options->get('header_sidebar_text_v1'), true); ?></div><?php } ?>
    </div>
    <?php } ?>
    <!-- Contact Widget -->
    <div class="sidebar-contact-info mb_40">
        <h3><?php echo wp_kses($options->get('header_sidebar_contact_title_v1'), true); ?></h3>
        <ul>
            <?php if($options->get('show_header_address2_v1')){ ?>
            <li>
                <div class="inner">
                    <div class="icon">
                        <i class="icon-placeholder"></i>
                    </div>
                    <div class="text">
                        <p><?php echo wp_kses($options->get('header_address2_v1'), true); ?></p>
                    </div>
                </div>
            </li>
            <?php } ?>
            <?php if($options->get('show_email2_v1')){ ?>
            <li>
                <div class="inner">
                    <div class="icon">
                        <i class="icon-email"></i>
                    </div>
                    <div class="text">
                        <p><a href="mailto:<?php echo esc_attr($options->get('sidebar_email_v1')); ?>"><?php echo wp_kses($options->get('sidebar_email_v1'), true); ?></a></p>
                    </div>
                </div>
            </li>
            <?php } ?>
            <?php if($options->get('show_phone_no2_v1')){ ?>
            <li>
                <div class="inner">
                    <div class="icon">
                        <i class="icon-telephone-2"></i>
                    </div>
                    <div class="text">
                        <p><a href="tel:<?php echo esc_attr($options->get('phone_number2')); ?>"><?php echo wp_kses($options->get('phone_number2'), true); ?></a></p>
                    </div>
                </div>
            </li>
            <?php } ?>
        </ul>
    </div>
    <?php if($options->get('show_newsletter_section')){ ?>
    <!-- Newsletter Widget -->
    <div class="newsletter-widget">
        <h3><?php echo wp_kses($options->get('sidebar_newsletter_title_v1'), true); ?></h3>
        <?php echo do_shortcode($options->get('sidebar_newsletter_url_v1')); ?>
    </div>
    <?php } ?>
</div>
        
    
    
