-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
52 lines (47 loc) · 2.1 KB
/
Copy pathheader.php
File metadata and controls
52 lines (47 loc) · 2.1 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
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
<?php wp_head(); ?>
<!--<link href="<?php echo get_template_directory_uri(); ?>/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/css/fontawesome.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/style.css" rel="stylesheet">-->
</head>
<body>
<div class="top-bar">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="data">
<?php $header = get_theme_mod("header",false); ?>
<?php foreach($header as $headers): ?>
<?php if(array_key_exists('text',$headers) && !empty($headers['text'])) :?>
<span><i class="<?php echo (isset($headers['icon']) && !empty($headers['icon']))? $headers['icon'] : null ?>"><?php echo $headers['text'] ?></i></span>
<?php endif;?>
<?php endforeach;?>
</div>
</div>
</div>
</div>
</div>
<div class="main-menu">
<div class="container">
<div class="row">
<div class="col-md-10 col-sm-8 col-8">
<div class="menu-items">
<?php wp_nav_menu(array(
'theme_location'=>'Main_Menu',
'depth'=>'3',
)); ?>
</div>
</div>
<div class="col-md-2 col-sm-4 col-4 text-left">
<div class="logo-box">
<?php the_custom_logo(); ?>
</div>
</div>
</div>
</div>
</div>