Beispiel #1
0
				
				<?php 
    /*
     * Hook that can be used for plugins and theme extensions (currently:  the woocommerce shopping cart)
     */
    do_action('ava_main_header');
    ?>
				
				<div class='container'>
				
					<?php 
    /*
     *	display the theme logo by checking if the default logo was overwritten in the backend.
     *   the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output
     */
    echo avia_logo(AVIA_BASE_URL . 'images/layout/logo.png', false, 'strong');
    if (strpos($headerS, 'social_header') !== false && strpos($headerS, 'bottom_nav_header') !== false) {
        avia_social_media_icons($social_args);
    }
    /*
     *	display the main navigation menu
     *   modify the output in your wordpress admin backend at appearance->menus
     */
    $extraOpen = $extraClose = "";
    if (strpos($headerS, 'bottom_nav_header') !== false) {
        $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>";
    }
    echo $extraClose;
    echo "<div class='main_menu' data-selectname='" . __('Select a page', 'avia_framework') . "'>";
    $args = array('theme_location' => 'avia', 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu());
    wp_nav_menu($args);
}
?>
	
				 <div class='container'>
				 
					<div class='inner-container'>
						<?php 
/*
 *	display the theme logo by checking if the default logo was overwritten in the backend.
 *   the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output
 */
$addition = false;
if (!empty($headerS['header_transparency']) && !empty($headerS['header_replacement_logo'])) {
    $addition = "<img src='" . $headerS['header_replacement_logo'] . "' class='alternate' alt='' />";
}
echo avia_logo(AVIA_BASE_URL . 'images/layout/logo.png', $addition, 'strong', true);
if (!empty($headerS['bottom_menu'])) {
    do_action('ava_before_bottom_main_menu');
}
if ($headerS['header_social'] == 'icon_active_main' && !empty($headerS['bottom_menu'])) {
    echo $icons;
}
/*
 *	display the main navigation menu
 *   modify the output in your wordpress admin backend at appearance->menus
 */
$extraOpen = $extraClose = $icon_beside = "";
if ($headerS['header_social'] == 'icon_active_main' && empty($headerS['bottom_menu'])) {
    $icon_beside = " av_menu_icon_beside";
}
if ($headerS['bottom_menu']) {
Beispiel #3
0
			<!-- ####### HEAD CONTAINER ####### -->
			
			<div class='container_wrap <?php 
echo $style;
?>
' id='header'>		
						
				
				<div class='container'>
				
					<?php 
/*
 *	display the theme logo by checking if the default css defined logo was overwritten in the backend.
 *   the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output
 */
echo avia_logo();
/*
 *	display the theme search form
 *   the tempalte file that is called is searchform.php in case you want to edit it
 */
get_search_form();
?>
 
					
					<ul class="social_bookmarks">
						<?php 
do_action('avia_add_social_icon', 'header');
?>
					
						<li class='rss'><a href="<?php 
bloginfo('rss2_url');
	
				 <div class='container'>
				 
					<div class='inner-container'>
						<?php 
/*
 *	display the theme logo by checking if the default logo was overwritten in the backend.
 *   the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output
 */
$addition = false;
if (!empty($headerS['header_transparency']) && !empty($headerS['header_replacement_logo'])) {
    $addition = "<img src='" . $headerS['header_replacement_logo'] . "' class='alternate' alt='' />";
}
//OGY
//echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', $addition, 'strong', true);
echo avia_logo('', '', 'h1', false);
if ($headerS['header_social'] == 'icon_active_main' && !empty($headerS['bottom_menu'])) {
    echo $icons;
}
/*
 *	display the main navigation menu
 *   modify the output in your wordpress admin backend at appearance->menus
 */
$extraOpen = $extraClose = $icon_beside = "";
if ($headerS['header_social'] == 'icon_active_main' && empty($headerS['bottom_menu'])) {
    $icon_beside = " av_menu_icon_beside";
}
if ($headerS['bottom_menu']) {
    $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>";
}
echo $extraClose;