This repository was archived by the owner on Oct 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathheader.php
More file actions
68 lines (50 loc) · 2.21 KB
/
Copy pathheader.php
File metadata and controls
68 lines (50 loc) · 2.21 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
<?php
/**
*
* The Header template for our theme
*
**/
?>
<!DOCTYPE HTML>
<html <?php language_attributes(); ?>>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Jeff's Portfolio">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="apple-touch-icon" href="https://www.isjeff.com/wp-content/uploads/2017/02/cropped-c2-180x180.jpg" sizes="620x620">
<link rel="apple-touch-icon" href="https://www.isjeff.com/wp-content/uploads/2017/02/cropped-c2-180x180.jpg" sizes="144x144">
<link rel="apple-touch-icon" href="https://www.isjeff.com/wp-content/uploads/2017/02/cropped-c2-180x180.jpg" sizes="192x192">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<nav>
<div class='nav_container' id='nav'>
<div class='nav nav_logo'>
<div class='pImg'>
<?php
if($profile_image_url != null || $profile_image_url != ''){
echo "<img src='$profile_image_url' alt='profile image'>";
}else{
echo "<img src='".get_bloginfo('template_directory')."/asset/img/pImg.jpg' alt='profile image'>";
}
?>
</div>
<a class='nav_text_logo' href='<?php echo esc_url( home_url( '/' ) ); ?>'><?php bloginfo( 'name' );?></a>
<!--img src='./asset/img/nav_logo.png' alt='site logo'-->
</div>
<div class='nav nav_text'>
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>
</div>
</div>
<div class='nav_container_mobile' id='navMobile'>
<div class='nav_text_mobile' id='navMobileText'>
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>
</div>
<div class='nav nav_menu nav_logo' id='nav_menu'>
<i class="fa fa-bars" aria-hidden="true" id='openNav' onclick="showNav()"></i>
<i class="fa fa-times" aria-hidden="true" id='closeNav' onclick="unshowNav()"></i>
</div>
</div>
</nav>