-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathheader.php
82 lines (71 loc) · 2.99 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
<?php
/**
* The template for displaying the header
*
* @author Vtrois <pancongbing@54U.NET>
* @license GPL-3.0
*/
?>
<!--
/**
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* 佛祖保佑 永无BUG
*
* 原创: www.54u.net
*
* 这个公司没有年终奖的,兄弟别指望了,也别来了,我准备辞职了
*
* 另外这个项目有很多*Bug* 你坚持不了多久的,拜拜!
*
-->
<!DOCTYPE HTML>
<html class="no-js">
<head>
<title><?php wp_title( '-', true, 'right' ); ?></title>
<meta charset="<?php bloginfo('charset'); ?>">
<meta http-equiv="Content-Language" content="zh-CN" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="format-detection" content="telphone=no, email=no">
<meta name="keywords" content="<?php kratos_keywords();?>" />
<meta name="description" content="<?php kratos_description(); ?>" />
<?php wp_head(); ?>
<?php wp_print_scripts('jquery'); ?>
<?php if ( kratos_option('site_bw')==1 ) : ?>
<style type="text/css">html{filter: grayscale(100%);-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);filter: gray;-webkit-filter: grayscale(1); }
</style>
<?php endif; ?>
</head>
<?php flush(); ?>
<body data-spy="scroll" data-target=".scrollspy">
<div id="kratos-wrapper">
<div id="kratos-page">
<div id="kratos-header">
<header id="kratos-header-section">
<div class="container">
<div class="logo" title="<?php bloginfo('name'); ?>"><a href="/"><h2><?php bloginfo('name'); ?></h2></a></div>
<div class="nav-header">
<?php $defaults = array('theme_location' => 'header_menu', 'container' => 'nav', 'container_id' => 'kratos-menu-wrap', 'menu_class' => 'sf-menu', 'menu_id' => 'kratos-primary-menu', ); ?>
<?php wp_nav_menu($defaults); ?>
</div>
</div>
</header>
</div>