-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
executable file
·79 lines (63 loc) · 2.43 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
<?php if (is_front_page() ) { bloginfo('name'); }
elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
elseif (is_page() ) { single_post_title(); }
else { wp_title('',true); } ?>
</title>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"/>
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<?php wp_head(); ?>
</head>
<header>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand" href="/"
title="<?php bloginfo('name'); ?>" rel="home">
<?php bloginfo('name'); ?>
</a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#studentsandteachersnav">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="studentsandteachersnav">
<ul class="nav navbar-nav navbar-right">
<div class="fix-mobile-nav">
<!-- Navigation menus !-->
<?php wp_nav_menu(
array(
'menu' => 'cabecalho',
'menu_class' => 'nav navbar-nav',
'fallback_cb' => '',
'menu_id' => 'cabecalho'
)
);?>
</div>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- Header -->
<a name="about"></a>
<div class="intro-header" style="background:url(<?php header_image(); ?>) no-repeat center center; background-size: cover; max-height: 600px; background-attachment: fixed;">
<div class="container">
<div class="intro-message">
</div>
</div>
<!-- /.container -->
</div>
<!-- /.intro-header -->
</header>
<body <?php body_class(); ?>>