forked from lehnihon/portabilis
-
Notifications
You must be signed in to change notification settings - Fork 3
/
header-blog-single.php
65 lines (63 loc) · 2.98 KB
/
header-blog-single.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
<!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="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<link rel="shortcut icon" type="image/png" href="<?php echo dirname( get_bloginfo('stylesheet_url'))."/assets/img/logo-icon.png"; ?>" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<?php wp_head(); ?>
</head>
<body>
<!--TELA DE CARREGAMENTO -->
<div id="preloader">
<div class="sk-three-bounce">
<div class="sk-child sk-bounce1"></div>
<div class="sk-child sk-bounce2"></div>
<div class="sk-child sk-bounce3"></div>
</div>
</div>
<div id="header" class="blog-single">
<nav id="menu" class="navbar navbar-expand-md navbar-dark wow animated fadeIn">
<a class="navbar-brand mr-md-5" href="<?php echo home_url( '/blog' ); ?>">
<img width="151" class="img-fluid e-claro logo" src="<?php echo dirname( get_bloginfo('stylesheet_url'))."/assets/img/logo-single.png"; ?>" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<?php
wp_nav_menu(array(
'menu' => 'primary',
'theme_location' => 'primary',
'container' => 'div',
'container_class' => 'navbar-nav mr-auto',
'menu_id' => false,
'menu_class' => 'navbar-nav',
'depth' => 2,
'fallback_cb' => 'WP_Bootstrap_Navwalker::fallback',
'walker' => new WP_Bootstrap_Navwalker()
));
?>
<form role="search" method="get" class="search-form clearfix" action="<?php echo home_url( '/' ); ?>">
<input type="search" class="pesquisar-input" placeholder="<?php echo esc_attr_x( 'Procurar Portabilis', 'placeholder' ) ?>" value="<?php echo get_search_query() ?>" name="s" title="<?php echo esc_attr_x( 'Procurar por:', 'label' ) ?>" />
</form>
<a class="search-blog" href=""><i class="fas fa-search"></i></a>
<?php
wp_nav_menu(array(
'menu' => 'secondary',
'theme_location' => 'secondary',
'container' => 'div',
'menu_id' => false,
'menu_class' => 'navbar-nav',
'depth' => 2,
'fallback_cb' => 'WP_Bootstrap_Navwalker::fallback',
'walker' => new WP_Bootstrap_Navwalker()
));
?>
<a href="https://portabilis.com.br/fale-conosco/" class="btn-base btn-white ml-md-3" title="Fale conosco">Fale conosco</a>
</div>
</nav>
</div>