Esempio n. 1
0
    function widget($args, $instance)
    {
        extract($args);
        $title = apply_filters('widget_title', $instance['title']);
        $tran_bg = $instance['tran_bg'];
        if (!empty($instance['newtap'])) {
            $newtap = $instance['newtap'];
        } else {
            $newtap = '';
        }
        if (!empty($instance['icons_size'])) {
            $icons_size = $instance['icons_size'];
        } else {
            $icons_size = '';
        }
        if (!$tran_bg) {
            echo $before_widget;
            echo $before_title;
            echo $title;
            echo $after_title;
            sith_get_social($newtab = $newtap, $icon_size = $icons_size);
            echo $after_widget;
        } else {
            ?>
			<div class="widget social-icons-widget">
			<?php 
            sith_get_social($newtab = $newtap, $icon_size = $icons_size);
            ?>
			</div>
		<?php 
        }
    }
Esempio n. 2
0
    echo lang_search;
    ?>
';}"  />
        </form>
      </div>
      <!-- .search-top /-->
      <?php 
}
?>
    
          <?php 
if (!sith_get_option('header_social_icons')) {
    ?>
      <div class="social-icons-top">
        <?php 
    sith_get_social('yes', 16, 'tooldown');
    ?>
      </div>
      <?php 
}
?>
    
    
  </div>
  
  <?php 
$stick = '';
?>
  <?php 
if (sith_get_option('stick_nav')) {
    $stick = ' fixed-enabled';