-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
98 lines (95 loc) · 4.37 KB
/
Copy pathheader.php
File metadata and controls
98 lines (95 loc) · 4.37 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package human_appeal
*/
global $redux_demo;
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php echo bloginfo("charset"); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!-- NABTOP____BAR Start-->
<nav class="top-nav">
<div class="container">
<div class="row justify-content-between">
<div class="col-lg-5">
<div class="top-info">
<p>
<span><i class="fa-solid fa-envelope"></i> : <?php echo $redux_demo['header_email_number'];?></span>
</p>
<p>
<span><i class="fa-solid fa-phone"></i> : <?php echo $redux_demo['head_phone_number'];?></span>
</p>
</div>
</div>
<div class="col-lg-7">
<div class="top-social">
<div class="social-link">
<?php if( $redux_demo['hfpl']): ?>
<a href="<?php echo esc_url($redux_demo['hfpl']);?>"><i class="fa-brands fa-facebook-f"></i></a>
<?php endif; ?>
<?php if( $redux_demo['htl']): ?>
<a href="<?php echo esc_url($redux_demo['htl']);?>"><i class="fa-brands fa-twitter"></i></a>
<?php endif; ?>
<?php if( $redux_demo['hisp']): ?>
<a href="<?php echo esc_url($redux_demo['hisp']);?>"><i class="fa-brands fa-instagram"></i></a>
<?php endif; ?>
<?php if( $redux_demo['hlndin']): ?>
<a href="<?php echo esc_url($redux_demo['hlndin']);?>"><i class="fa-brands fa-linkedin"></i></a>
<?php endif; ?>
<?php if( $redux_demo['hyou']): ?>
<a href="<?php echo esc_url($redux_demo['hyou']);?>"><i class="fa-brands fa-youtube"></i></a>
<?php endif; ?>
</div>
<?php if( $redux_demo['hea_form_hide_show']): ?>
<div class="log_in">
<form>
<button>Login</button>
<button>Register</button>
</form>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</nav>
<!-- NABTOP____BAR End-->
<!-- Main NavBar____BAR Start-->
<nav class="navbar navbar-expand-lg sticky-top navbar-light py-3">
<div class="container">
<a class="navbar-brand" href="<?php echo site_url(); ?>"><img src="<?php echo $redux_demo['header_logs']['url']; ?>" alt="logo"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" >
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse hader_nav" id="navbarNav">
<?php wp_nav_menu([
'theme_location' => 'main-menu',
'container_class' => 'hader_nav',
'menu_class' => 'navbar-nav',
'menu_id' => '',
'li_class' => 'nav-item',
'a_class' => 'nav-link',
'active_class' => 'active',
'fallback_cb' => 'null_menu',
'walker' => new human_appeal_walker_submenu(),
]) ?>
<?php if( $redux_demo['hea_donete'] ): ?>
<form class="form-inline top-btn ms-auto">
<a href="<?php echo esc_url($redux_demo['hea_donete_links']); ?>">Donete Now</a>
</form>
<?php endif; ?>
</div>
</div>
</nav>