-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhead.php
53 lines (43 loc) · 1.5 KB
/
head.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
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Load custom fonts -->
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri() . '/fonts/fonts.css'; ?>" />
<!-- Main CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>" />
<?php
/*
WordPress function to display the page and site title
For more information:
https://developer.wordpress.org/reference/functions/wp_title/
https://stackoverflow.com/questions/26636216/wp-title-showing-page-title-but-not-site-title
When you're ready to add more advanced SEO functionality to the theme,
check out the Yoast SEO plugin: https://yoast.com/wordpress/plugins/seo/
*/
?>
<title><?php wp_title('·', true, 'right'); ?><?php echo get_bloginfo('name'); ?></title>
<?php
/*
Want to add a favicon to your site?
1. Create a 32x32 PNG image and save it as: favicon.png
2. Upload it to the theme directory.
3. Uncomment the code below.
*/
?>
<?php /*
<!-- Favicon -->
<link rel="shortcut icon" href="<?php echo get_template_directory_uri() . '/favicon.png'; ?>">
*/ ?>
<?php
// Load jQuery
wp_enqueue_script("jquery");
?>
<?php
/*
The wp_head() call below is used by WordPress and many other plugins
as a place to hook into when needed. Leave this here for best results.
*/
wp_head();
?>
</head>