-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
55 lines (46 loc) · 1.94 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* The Header
*/
?>
<!DOCTYPE html>
<!--[if IE 8 ]> <html lang="en" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js lt-ie9> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="no-js" <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="wrapper">
<header id="header">
<div class="container clearfix">
<div id="brand" role="banner">
<?php if( !is_singular() ) echo '<h1>'; else echo '<h2>'; ?>
<a href="<?php echo home_url() ?>/" title="<?php echo esc_attr( get_bloginfo('name', 'display') ); ?>">
<?php if(ot_get_option('custom-logo')) : ?>
<img src="<?php echo ot_get_option('custom-logo'); ?>" alt="<?php echo esc_attr( get_bloginfo('name', 'display') ); ?>" />
<?php else: ?>
<span><?php bloginfo( 'name' ); ?></span>
<?php endif; ?>
</a>
<?php if( !is_singular() ) echo '</h1>'; else echo '</h2>'; ?>
</div><!-- end .brand -->
<nav id="primary-menu-container" class="clearfix">
<?php echo sp_main_navigation(); ?>
</nav><!-- .primary-nav .wrap -->
<div class="header-right">
<div class="social-love9">
<a href="<?php echo ot_get_option('facebook-url'); ?>" target="_blank" class="icon-facebook-squared"></a>
<a href="<?php echo ot_get_option('youtube-url'); ?>" target="_blank" class="icon-youtube"></a>
<a href="<?php echo ot_get_option('soundcloud-url'); ?>" target="_blank" class="icon-soundcloud"></a>
</div>
<?php
if (function_exists('icl_get_languages')) {
echo languages_list_header();
}
?>
</div> <!-- .header-right -->
</div><!-- end .container .clearfix -->
</header><!-- end #header -->