-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathheader.php
67 lines (60 loc) · 2.56 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<title><?php
global $page, $paged;
wp_title( '|', true, 'right' );
bloginfo( 'name' );
$site_description = get_bloginfo('description', 'display');
if ( $site_description && ( is_home() || is_front_page() ) )
echo " | $site_description";
if ( $paged >= 2 || $page >= 2 )
echo ' | ' . __('Page', 'toolkit') . max($paged, $page);
?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/img/favicon.ico">
<link rel="apple-touch-icon" href="<?php bloginfo('stylesheet_directory'); ?>/img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="<?php bloginfo('stylesheet_directory'); ?>/img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="<?php bloginfo('stylesheet_directory'); ?>/img/apple-touch-icon-114x114.png">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="masthead" class="row">
<div class="container">
<div class="four columns">
<h1><a href="<?php echo home_url('/'); ?>"><?php // bloginfo('name'); ?>geojournalism<span class="tld">.org</span></a></h1>
</div>
<div class="six columns">
<nav id="mastnav">
<?php wp_nav_menu(array('theme_location' => 'header_menu')); ?>
</nav>
</div>
<?php
/*
<div class="three columns">
<div class="share">
<ul>
<li class="fb">
<div class="fb-like" data-href="https://www.facebook.com/pages/Geojournalism/321645684659638" data-layout="button_count" data-show-faces="false" data-send="false"></div>
</li>
<li class="twitter">
<a href="https://twitter.com/geojournalism" class="twitter-follow-button" data-show-count="true" data-show-screen-name="false" data-lang="en">Follow us</a>
</li>
</ul>
</div>
</div>
*/
?>
<?php if(function_exists('qtrans_getLanguage')) : ?>
<div class="two columns">
<nav id="lang">
<?php echo qtrans_generateLanguageSelectCode('text'); ?>
</nav>
</div>
<?php endif; ?>
</div>
</header>