Repository navigation
Expand file tree
/
Copy pathheader.php
More file actions
60 lines (57 loc) · 3.26 KB
/
Copy pathheader.php
File metadata and controls
60 lines (57 loc) · 3.26 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<title><?php wp_reset_query(); if( is_front_page()) { echo bloginfo("name"); echo " - "; echo bloginfo("description"); } else {
echo wp_title(" - ", false, 'right'); echo bloginfo("name"); } ?></title>
<meta name="description" content="<?php bloginfo( 'description' ); ?>">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<meta name="author" content="<?php the_author_meta('display_name', 1); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>
<!-- Favicon -->
<?php if ( function_exists( 'ot_get_option' ) ) :if (ot_get_option( 'favicon_logo')) : ?>
<link rel="shortcut icon" href="<?php echo ot_get_option( 'favicon_logo'); ?>"/>
<?php else : ?>
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/images/favicon.png" />
<?php endif ; endif; ?>
<!-- Icon Touch -->
<?php if ( function_exists( 'ot_get_option' ) ) :if (ot_get_option( 'touch_logo')) : ?>
<link rel="apple-touch-icon" href="<?php echo ot_get_option( 'touch_logo'); ?>"/>
<?php else : ?>
<link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/images/favicon-touch.png" />
<?php endif ; endif; ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!--preloader function-->
<?php if ( function_exists( 'ot_get_option' ) ) :if (ot_get_option( 'preloader_set')) :
$preload = ot_get_option( 'preloader_set' ); if ($preload == 'show_home') { ?>
<?php if (is_front_page() ){ ?>
<!-- Preloader -->
<div id="preloader">
<div id="status">
<?php if ( function_exists( 'ot_get_option' ) ) :if (ot_get_option( 'loader_logo')) : ?>
<img src="<?php echo ot_get_option( 'loader_logo'); ?>" alt="Loading Content..">
<?php else : ?>
<p><?php _e('Loading Content...','beuh'); ?></p>
<?php endif ; endif; ?>
</div>
</div>
<?php }
} else if ($preload == 'show_all') {?>
<!-- Preloader -->
<div id="preloader">
<div id="status">
<?php if ( function_exists( 'ot_get_option' ) ) :if (ot_get_option( 'loader_logo')) : ?>
<img src="<?php echo ot_get_option( 'loader_logo'); ?>" alt="Loading Content..">
<?php else : ?>
<p><?php _e('Loading Content...','beuh'); ?></p>
<?php endif ; endif; ?>
</div>
</div>
<?php } endif ; endif; ?>