質問編集履歴

1

header\.phpのソースを追加

2017/06/26 09:49

投稿

ha2ard
ha2ard

スコア8

test CHANGED
File without changes
test CHANGED
@@ -37,3 +37,57 @@
37
37
 
38
38
 
39
39
  で今に至ります。
40
+
41
+
42
+
43
+ ```headder.php
44
+
45
+
46
+
47
+ <!DOCTYPE html>
48
+
49
+ <html <?php language_attributes(); ?> dir="ltr">
50
+
51
+ <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">
52
+
53
+ <meta charset="<?php bloginfo( 'charset' ); ?>">
54
+
55
+ <meta name="keywords" content="<?php emanon_keywords(); ?>" >
56
+
57
+ <meta name="description" content="<?php emanon_description(); ?>">
58
+
59
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
60
+
61
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
62
+
63
+ <script type="text/javascript" src="http://hoge.jp/blog/js/blog.js"></script>
64
+
65
+ <?php emanon_robots(); ?>
66
+
67
+ <?php emanon_facebook_opg(); ?>
68
+
69
+ <?php emanon_twitter_card(); ?>
70
+
71
+ <?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
72
+
73
+ <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
74
+
75
+ <?php endif; ?>
76
+
77
+ <?php wp_head(); ?>
78
+
79
+ <?php emanon_google_tag_manager(); ?>
80
+
81
+ </head>
82
+
83
+ <body id="top" <?php body_class(); ?>>
84
+
85
+ <?php emanon_google_tag_manager_noscript(); ?>
86
+
87
+ <?php emanon_google_analytics(); ?>
88
+
89
+ <?php emanon_fb_root(); ?>
90
+
91
+ <?php emanon_header_layout(); ?>
92
+
93
+ ```