-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
81 lines (80 loc) · 3.48 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!-- <!DOCTYPE html> -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--<link rel="stylesheet" href="wp-content/themes/yogatheme/style.css">
<link rel="stylesheet" href="style/Global-style.css">
<link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style/bootstrap.rtl.min.css">
<link rel="stylesheet" href="style/animate.min.css">
<link rel="stylesheet" href="style/splide.min.css">
<link rel="stylesheet" href="style/splide-skyblue.min.css">
<link rel="stylesheet" href="style/owl.carousel.min.css">
<link rel="stylesheet" href="style/lightbox.min.css">
<link rel="stylesheet" href="style/footer.css">-->
<link rel="icon" type="image/x-icon" href="pic/cropped-favicon-180x180.png">
<title><?php get_the_title(); ?></title>
<?php
wp_head();
?>
</head>
<body>
<header id="header">
<div class="navbar container-fluid" id="Holeheader">
<div class="navbar-brand">
<?php
if(function_exists('the_custom_logo')){
// the_custom_logo( ); add dynamic logo
$custom_logo_id = get_theme_mod( 'custom_logo' );
$logo = wp_get_attachment_image_src( $custom_logo_id );
// print_r($logo);
}
?>
<a href="#"><img src="<?php echo $logo[0] ?>" id="logomenu" alt=""></a>
</div>
<div class="burgermenu d-lg-none" id="burger">
<span class="span1" id="span-1"></span>
<span class="span2" id="span-2"></span>
<span class="span3" id="span-3"></span>
</div>
<?php
wp_nav_menu(
array(
'menu' => 'Primary',
'theme_location' => 'Primary',
'menu_class' => 'menu-item',
'menu_id' => 'mainmenu',
'container' => '',
'container_class' => '',
'container_aria_label' => '',
'walker' => new Primary_Menu_Walker(),
'depth' => 1,
'show_carets' => true,
'item_spacing' => 'discard'
)
);
?>
<div class="social">
<li class="fa fa-facebook fa-lg"></li>
<li class="fa fa-telegram fa-lg"></li>
<li class="fa fa-instagram fa-lg"></li>
</div>
</div>
</header>
<!-- <div class="splide" aria-label="Splide Basic HTML Example" >
<div class="splide__track">
<ul class="splide__list">
<li class="splide__slide">
<img src= "<?php bloginfo('template_url'); ?>/assets/images/slide-01-min.jpg" alt="">
</li>
<li class="splide__slide">
<img src= "<?php bloginfo('template_url'); ?>/assets/images/slide-03-min.jpg" alt="">
</li>
<li class="splide__slide">
<img src= "<?php bloginfo('template_url'); ?>/assets/images/slide-04-min.jpg" alt="">
</li>
</ul>
</div>
</div> -->