*/
?>
<aside id="navbar-container-left">
	<div id="navbar-left-inner">
		<header>
			<?php 
echo wolf_logo();
?>
		</header>
		<p class="site-tagline"><?php 
echo get_bloginfo('description');
?>
</p>
		<nav class="site-navigation-primary">
			<?php 
/**
 * Main Navigation
 */
wp_nav_menu(array('theme_location' => 'primary', 'menu_class' => 'nav-menu dropdown', 'fallback_cb' => ''));
?>
		</nav>
		<footer>
			<?php 
$services = wolf_get_theme_option('menu_socials_services');
if ($services) {
    echo wolf_theme_socials($services, '1x');
}
?>
		</footer>
	</div>
</aside><!-- #navbar-container-left -->
 /**
  * Socials shortcode
  *
  * @param array $atts
  * @return string
  */
 function wolf_shortcode_theme_socials($atts)
 {
     if (class_exists('Vc_Manager') && function_exists('vc_map_get_attributes')) {
         $atts = vc_map_get_attributes('wolf_theme_socials', $atts);
     }
     extract(shortcode_atts(array('services' => '', 'size' => '2x', 'type' => 'normal', 'target' => '_blank', 'custom_style' => 'no', 'hover_effect' => 'none', 'margin' => '', 'bg_color' => '', 'icon_color' => '', 'border_color' => '', 'bg_color_hover' => '', 'icon_color_hover' => '', 'border_color_hover' => '', 'alignment' => 'center', 'animation' => '', 'animation_delay' => '', 'inline_style' => '', 'class' => ''), $atts));
     return wolf_theme_socials($services, $size, $type, $target, $custom_style, $hover_effect, $margin, $bg_color, $icon_color, $border_color, $bg_color_hover, $icon_color_hover, $border_color_hover, $alignment, $animation, $animation_delay, $inline_style, $class);
 }
Exemplo n.º 3
0
 /**
  * Output social icons
  *
  * @access public
  * @since 1.0.0
  * @return void
  */
 function wolf_bottom_socials()
 {
     if (wolf_get_theme_option('bottom_socials')) {
         $services = wolf_get_theme_option('bottom_socials_services');
         echo wolf_theme_socials($services, '1x');
     }
 }