• Hi there
    i don’t know how to display the language selector above my logo in header.php

    Logo in centered and display with this code

    	//echo style/class
    	$style = !empty($style_array) ? 'style="background: '.join(' ', $style_array).'"' : '';
    	$class = !empty($class_array) ? ' '.join(' ', $class_array) : '';
    
    	function getLogo(){
    		global $logo_image;
    		$home_url = get_home_url();
    		if( get_custom_option('logo_type') == 'logoImage'){ 
    			$logo = '<a href="'. $home_url .'"><span class="logoImg"><img src="'.$logo_image.'" alt=""></span></a>';
    		} else { 
    			$logo = '<a href="'. $home_url .'"><span class="logoImg">'.get_custom_option('title_logo').'</span></a>';
    		} 
    
    		return '<div class="logoHeader">'
    			.$logo
    			.'<span class="logo_bg_size"></span>
    		</div>';
    	}

    Thanks a lot!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Insert language selector above Logo’ is closed to new replies.