forked from ColorlibHQ/unapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·50 lines (46 loc) · 1.69 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
<!DOCTYPE HTML>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!--<div class="colorlib-loader"></div>-->
<div id="page">
<nav class="colorlib-nav">
<div class="top-menu">
<div class="container">
<div class="row">
<div class="col-md-2">
<div id="colorlib-logo">
<?php
if ( function_exists( 'the_custom_logo' ) ) {
if ( has_custom_logo() ) {
Epsilon_Helper::get_image_with_custom_dimensions( 'unapp_logo_dimensions' );
}
else{
?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('name')?></a>
<?php
}
}
?>
</div>
</div>
<div class="col-md-10 text-right menu-1">
<?php
wp_nav_menu( array(
'theme_location' => 'header_menu',
'container' => true,
'fallback_cb' => '',
'walker' => new Unapp_navwalker()
) );
?>
</div>
</div>
</div>
</div>
</nav>