-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
134 lines (111 loc) · 5.05 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 9]> <html class="no-js lt-ie10" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>" charset=<?php bloginfo('charset'); ?>" />
<?php
$postid = $wp_query->post->ID;
?>
<?php if ( $postid===22 ) { ?>
<meta property="og:title" content="Marc Mikhail Photography"/>
<meta property="og:description" content="Wedding Photography by Hamilton based Photographer Marc Mikhail. Because your wedding is better than her's."/>
<meta property="og:url" content="http://www.takenbymarc.com/"/>
<meta property="og:image" content="http://www.takenbymarc.com/wp-content/uploads/2014/02/new-logofb1.png"/>
<?} else { ?>
<meta property="og:url" content="<?php the_permalink() ?>"/>
<meta property="og:title" content="<?php single_post_title(''); ?>" />
<meta property="og:description" content="<?php echo $excerpt; ?>" />
<meta property="og:type" content="article" />
<?php } ?>
<title>
<?php
if(j_get_option('enable_seo')) {
echo jeg_build_titles();
} else {
wp_title();
}
?>
</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
// responsive option
if(j_get_option('responsive', 1)) : ?>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<?php endif; ?>
<?php if(j_get_option('apps_capable')) : ?>
<meta name="apple-mobile-web-app-capable" content="yes" />
<?php endif; ?>
<?php if(j_get_option('enable_seo')) : ?>
<meta name="keywords" content="<?php echo j_get_option('seo_keyword');?>"/>
<meta name="revisit-after" content="1 days" />
<?php endif; ?>
<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
<?php if(j_get_option('website_favico')) : ?>
<link rel="shortcut icon" type="image/x-icon" href="<?php echo j_get_option('website_favico'); ?>" />
<?php endif; ?>
<?php if(j_get_option('touch_icon')) : ?>
<link rel="apple-touch-icon-precomposed" href="<?php echo j_get_option('touch_icon'); ?>">
<?php endif; ?>
<!-- All JavaScript at the bottom, except this Modernizr build.
Modernizr enables HTML5 elements & feature detects for optimal performance.
Create your own custom Modernizr build: www.modernizr.com/download/ -->
<script type="text/javascript">
var base_url = "<?php echo home_url(); ?>",
template_url = "<?php echo get_template_directory_uri(); ?>",
template_css = "<?php echo JEG_CSS_URL; ?>",
lib_url = "<?php echo JEG_UTIL_URL; ?>",
admin_url = "<?php echo admin_url("admin-ajax.php"); ?>",
jcurtain = "<?php echo j_get_option('curtain', 0); ?>",
curtainstyle = "<?php echo j_get_option('curtain_effect', 'slide');?>";
</script>
<?php wp_head(); ?>
<link link rel='stylesheet' href="<?php echo get_template_directory_uri(); ?>/css/custom.css" />
</head>
<body <?php body_class(); ?>>
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<header>
<nav>
<div class="navleft">
<div class="navleft-wrapper">
<?php echo jeg_menu("topleft"); ?>
</div>
</div>
<?php if (j_get_option('centered_menu', 1)) : ?>
<div class="navright">
<div class="navright-wrapper">
<?php echo jeg_menu("topright"); ?>
</div>
</div>
<?php endif; ?>
</nav>
<div class="logo">
<a href="<?php echo home_url();?>">
<!-- Logo masuk sini -->
<img alt="<?php bloginfo('name'); echo " "; bloginfo('description'); ?>" src="<?php echo j_get_option('website_logo');?>" />
</a>
</div>
<div class="navselect">
<select>
<option value="#!/"><?php j_e('navigate_lang') ?></option>
<?php echo jeg_responsive_menu(); ?>
</select>
</div>
</header>
<div class="notification" data-small-menu="<?php echo j_get_option('small_menu', 0); ?>">
<div class="notification-wrapper">
<div class="notification-belt"> </div>
<div class="notification-content"></div>
<div class="closeme" style="display: block;">
<div class="icon-remove"></div>
</div>
</div>
</div>
<div role="main" id="wmainouter">
<div id="wmain">
<div class="main-<?php the_ID(); ?>">