-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
57 lines (48 loc) · 1.87 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
<?php
declare(strict_types = 1);
use NatOkpe\Wp\Theme\Tranquil\Theme;
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="black" />
<link id="favicon" rel="shortcut icon" href="<?= Theme::url('assets/img/favicon.ico') ?>" type="image/ico" />
<script type="text/javascript">
window.caspage = {
bloginfo : function (info) {
switch (info) {
case charset:
return '<?php bloginfo('charset'); ?>';
break;
case name:
return '<?php bloginfo('name'); ?>';
break;
default:
return undefined;
break;
}
},
home_url : '<?= home_url() ?>',
get_stylesheet_directory_uri : '<?= get_stylesheet_directory_uri() ?>'
};
</script>
<?php wp_head(); ?>
<style type="text/css">
.post p {
color: #000 !important;
}
.post h2,
.post h3,
.post h4 {
margin-top: 30px !important;
}
</style>
</head>
<body <?php body_class('splashscreen'); ?>><?php wp_body_open(); ?>
<!-- <div class="content-splashscreen">
<div class="loader-area">
<img class="preloader" src="<?= Theme::url('assets/img/preloader.svg') ?>">
</div>
</div> -->