<?php $left_topbar_content = dh_get_theme_option('left-topbar-content', 'info'); if ($left_topbar_content === 'info') { echo '<div class="topbar-info">'; echo '<a href="#"><i class="fa fa-phone"></i> ' . esc_html(dh_get_theme_option('left-topbar-phone', '(123) 456 789')) . '</a>'; echo '<a href="mailto:' . esc_attr(dh_get_theme_option('left-topbar-email', '*****@*****.**')) . '"><i class="fa fa-envelope-o"></i> ' . esc_html(dh_get_theme_option('left-topbar-email', '*****@*****.**')) . '</a>'; echo '<a href="skype:' . esc_attr(dh_get_theme_option('left-topbar-skype', 'skype.name')) . '?call"><i class="fa fa-skype"></i> ' . esc_html(dh_get_theme_option('left-topbar-skype', 'skype.name')) . '</a>'; echo '</div>'; } elseif ($left_topbar_content === 'custom') { echo dh_get_theme_option('left-topbar-custom-content', ''); } ?> <?php if ($left_topbar_content == 'menu_social') { echo '<div class="topbar-social">'; dh_social(dh_get_theme_option('left-topbar-social', array('facebook', 'twitter', 'google-plus', 'pinterest', 'rss', 'instagram')), true); echo '</div>'; } ?> </div> </div> <div class="col-sm-6"> <div class="right-topbar"> <?php if (function_exists('icl_get_languages')) { ?> <div class="language-switcher"> <?php //do_action('icl_language_selector');
esc_attr_e('Search', 'jakiro'); ?> " /> <input type="hidden" name="post_type" value="<?php echo apply_filters('dh_ajax_search_form_post_type', 'product'); ?> " /> </form> <div class="cart-wrap"> <?php echo class_exists('DH_Woocommerce') ? DH_Woocommerce::instance()->get_minicart_sidebar() : ''; ?> </div> <div class="social-wrap"> <?php dh_social(dh_get_theme_option('header-sidebar-social', array('twitter', 'facebook', 'instagram', 'behance', 'dribbble')), true); ?> </div> <?php } ?> <?php if (is_active_sidebar('sidebar-offcanvas')) { ?> <div class="offcanvas-widget"> <?php dynamic_sidebar('sidebar-offcanvas'); ?> </div> <?php }
public function widget($args, $instance) { ob_start(); extract($args); $title = apply_filters('widget_title', $instance['title'], $instance, $this->id_base); $social = isset($instance['social']) ? explode(',', $instance['social']) : array(); $style = isset($instance['style']) ? $instance['style'] : 'square'; if (!empty($social)) { echo $before_widget; if ($title) { echo $before_title . $title . $after_title; } echo '<div class="social-widget-wrap social-widget-' . $style . '">'; $hover = false; $soild_bg = true; $outlined = false; if ($style == 'outlined') { $hover = true; $soild_bg = false; $outlined = true; } dh_social($social, $hover, $soild_bg, $outlined); echo '</div>'; echo $after_widget; $content = ob_get_clean(); echo $content; } }
<div class="col-md-12 navbar-default-col"> <div class="navbar-wrap"> <a href="<?php echo home_url(); ?> "> <img class="sticky-logo" src="<?php echo get_template_directory_uri(); ?> /assets/images/platinum jewel logo a-03.png" /> </a> <div class="navbar-header"> <div class="navbar-header-left"> <div class="social"> <?php dh_social(dh_get_theme_option('header-left-social', array()), true); ?> </div> </div> <div class="navbar-header-center"> <button <?php /*data-target=".primary-navbar-collapse" data-toggle="collapse"*/ ?> type="button" class="navbar-toggle"> <span class="sr-only"><?php echo esc_html__('Toggle navigation', 'woow'); ?> </span> <span class="icon-bar bar-top"></span> <span class="icon-bar bar-middle"></span>