-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·73 lines (70 loc) · 2.84 KB
/
Copy pathheader.php
File metadata and controls
executable file
·73 lines (70 loc) · 2.84 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
69
70
71
72
73
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package turing
* @since turing 1.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<!-- <meta name="viewport" content="user-scalable=yes, initial-scale=1.0, maximum-scale=2.0, width=device-width" /> -->
<!-- <meta name="viewport" content="width=device-width" /> -->
<!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> -->
<title>
<?php
global $page, $paged, $pageClass, $pageID;
bloginfo( 'name' );
wp_title( ' | ', true, 'left' );
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description";
if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'turing' ), max( $paged, $page ) );
?>
</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="icon" type="image/x-icon" href="<?php echo get_template_directory_uri() ?>/images/favicon.png">
<!-- <link rel="image_src" href="<?php echo get_template_directory_uri() ?>/images/CLO_Twitter_Icon.png" /> -->
<meta content="<?php echo get_template_directory_uri() ?>/images/clo-icon.jpg" property="og:image"/>
<meta content="colorflow" property="og:title"/>
<meta content="http://colorflow.com" property="og:url"/>
<meta content="Colorflow a next generation post production for Film, Broadcast, and the Web." property="og:site_name"/>
<meta content="Colorflow a next generation post production for Film, Broadcast, and the Web." property="og:description"/>
<meta content="website" property="og:type"/>
<script src='http://use.typekit.com/nxy6drw.js'> </script>
<script type='text/javascript'>
//<![CDATA[
try{Typekit.load();}catch(e){}
//]]>
</script>
<?php wp_head(); ?>
</head>
<body id="<?php echo $pageID; ?>" class="<?php echo $pageClass; ?>">
<div id='wrapper'>
<div id='header'>
<div class='inner-container'>
<div class='navigation'>
<!-- Main Navigation -->
<!-- ====================================================================== -->
<h1 class='logo'><a href="/">Colorflow</a></h1>
<nav class='main-navigation'>
<ul>
<?php
$nav_items = wp_get_nav_menu_items('Main Nav');
$nav_list = '';
foreach ( (array) $nav_items as $key => $nav_item ) {
$title = $nav_item->title;
$url = $nav_item->url;
$nav_list .= '<li><a href="'.$url.'">'.$title.'</a></li>';
}
echo $nav_list;
?>
</ul>
</nav>
</div>
</div>
</div>
<?php #do_action( 'before' ); ?>