質問編集履歴

2

質問文の<code>に```を前後改行してもともと入っています。

2017/09/05 13:30

投稿

ems
ems

スコア23

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,9 @@
40
40
 
41
41
  header.phpのコードを追記します。
42
42
 
43
+ ```
44
+
43
- ```<!DOCTYPE html>
45
+ <!DOCTYPE html>
44
46
 
45
47
  <html lang="ja">
46
48
 
@@ -106,9 +108,9 @@
106
108
 
107
109
  </header>
108
110
 
109
- コード
111
+ ```
110
112
 
111
- ```
113
+
112
114
 
113
115
 
114
116
 

1

header\.phpのコードを追記しました。あと他の不可解な現象も追記しました。

2017/09/05 13:30

投稿

ems
ems

スコア23

test CHANGED
File without changes
test CHANGED
@@ -33,3 +33,87 @@
33
33
 
34
34
 
35
35
  すみません、ご教示ください。
36
+
37
+
38
+
39
+
40
+
41
+ header.phpのコードを追記します。
42
+
43
+ ```<!DOCTYPE html>
44
+
45
+ <html lang="ja">
46
+
47
+ <head>
48
+
49
+ <meta charset="UTF-8">
50
+
51
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
52
+
53
+ <meta property="og:title" content="">
54
+
55
+ <meta property="og:url" content="">
56
+
57
+ <meta property="og:image" content="img/">
58
+
59
+ <meta property="og:description" content="">
60
+
61
+ <title><?php bloginfo('name'); ?></title>
62
+
63
+ <link rel="stylesheet" href="<?php echo get_template_directory_url(); ?>/css/cssreset-min.css">
64
+
65
+ <link rel="stylesheet" href="<?php echo get_template_directory_url(); ?>/style.css">
66
+
67
+ <link rel="shortcut icon" href="img/favicon.ico">
68
+
69
+ <link rel="apple-touch-icon" href="img/favicon.ico">
70
+
71
+ <link href="https://fonts.googleapis.com/css?family=Cambay:400,700" rel="stylesheet">
72
+
73
+ <?php wp_head(); ?>
74
+
75
+ </head>
76
+
77
+ <body>
78
+
79
+ <div id="container">
80
+
81
+ <header>
82
+
83
+ <div class="header_logo">
84
+
85
+ <h1><a href="<?php echo home_url(); ?>"><img src="<?php get_template_directory_url(); ?>/img/logo_exhibition.png" alt="展示会情報calotypephotoweb"></a></h1>
86
+
87
+ </div>
88
+
89
+ <div class="nav-wrapper">
90
+
91
+ <nav>
92
+
93
+ <ul>
94
+
95
+ <li><a href="index.html">展示会一覧</a></li>
96
+
97
+ <li><a href="">写真家一覧</a></li>
98
+
99
+ <li><a href="about.html">運営会社</a></li>
100
+
101
+ </ul>
102
+
103
+ </nav>
104
+
105
+ </div>
106
+
107
+ </header>
108
+
109
+ コード
110
+
111
+ ```
112
+
113
+
114
+
115
+ あと先ほどから気になることが。
116
+
117
+ ご指摘いただいた「<?php echo get_template_directory_uri(); ?>」の"uri"をwordpress側で全て修正し、google検索で「<?php echo get_template_directory_url(); ?>」と検索したところ、検索結果もcodexの中身も全て"url"の部分が"uli"と表示されます。どのサイトも全てそのように表示されます。このパソコンが何かおかしいのでしょうか・・。
118
+
119
+ ![イメージ説明](76b995da2a1742961930691f5ad9d868.png)