-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
29 lines (23 loc) · 1.3 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
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
<meta name="description" content="
<?php if ( is_single() ) {
single_post_title('', true);}
else {bloginfo('name'); echo " - "; bloginfo('description');} ?>" />
<?php // Mobile browser scrolling tends to really distort things so I turned it off. ?>
<meta name='viewport' content='width=device-width; initial-scale=1.0; maximum-scale=3.0; user-scalable=1;' />
<meta name='viewport' content='width=device-width; initial-scale=1.0; maximum-scale=3.0; user-scalable=true;' />
<meta name='viewport' content='width=device-width; initial-scale=1.0; maximum-scale=3.0; user-scalable=yes;' />
<?php // prefeching for off-server scripts ?>
<link rel="dns-prefetch" href="//ajax.googleapis.com">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="shortcut icon" type="image/png" href="<?php echo of_get_option('favicon','')?>/">
<?php // enqueues scripts as defined in fuctions.php
wp_scriptloader();
// calls scripts enque'd with add_action(wp_head)
wp_head();
include "includes/style.php";?>
</head>
<body id='home' <?php body_class( $class ); ?>>