-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
66 lines (49 loc) · 2.07 KB
/
header.php
File metadata and controls
66 lines (49 loc) · 2.07 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
<link rel="stylesheet" href="<?php echo URL_THEME ?>/assets/vendor/fontawesome/font-awesome.min.css">
<link rel="stylesheet" href="<?php echo URL_THEME ?>/assets/vendor/swiper/css/swiper.min.css">
<link rel="stylesheet" href="<?php echo URL_THEME ?>/assets/vendor/slicknav/slicknav.min.css">
<link rel="stylesheet" href="<?php echo URL_THEME ?>/assets/css/main.css">
<link rel="stylesheet" href="<?php echo URL_THEME ?>/assets/css/mediaq.css">
<link rel="icon" href="<?php echo URL_THEME ?>/assets/images/fav.png" sizes="any" type="image/png">
</head>
<body>
<header>
<section class="top-head container">
<div class="right-head">
<div class="logo">
<a href="<?php echo get_site_url() ?>">
<img src="<?php echo get_option("logo_site") ?>">
</a>
</div>
<form role="search" action="">
<button type="submit"><i class="fa fa-search"></i></button>
<input name="s" type="text" placeholder="جستجو در <?php echo get_bloginfo( 'name' );?> ...">
</form>
</div>
<div class="left-head">
<div class="login-box">
<div class="log-reg" id="logreg">
<i class="fa fa-user"></i>
<a href="<?php echo wc_get_account_endpoint_url('dashboard') ?>"> ورود به حساب کاربری </a>
</div>
</div>
<div class="devider"></div>
<a href="<?php echo wc_get_cart_url() ?>" class="cart">
<i class="fa fa-shopping-cart"></i>
</a>
</div>
</section>
<?php wp_nav_menu([
'container_class' => 'top-nav container',
'menu_class' => 'dropdown',
'menu_id' => 'mynavmenu',
'theme_location' => "main_menu",
"container" => "nav",
'walker' => new My_Walker_Nav_Menu()
]) ?>
</header>