-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
32 lines (27 loc) · 933 Bytes
/
header.php
File metadata and controls
32 lines (27 loc) · 933 Bytes
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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>
<?php
if (is_home()){ bloginfo('name'); }
elseif (is_category()){single_cat_title(); echo ' - ' ; bloginfo('name');}
elseif (is_single()){ single_post_title();}
elseif (is_page()){bloginfo('name'); echo ' - '; single_post_title();}
else {wp_title('',true);}
?>
</title>
<?php wp_head() ?>
<script>
var siteurl = '<?php echo home_url(); ?>';
</script>
</head>
<body <?php body_class();?>>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<header class="header">
<!-- PAGE HEADER -->
</header>
<main class="main">