質問編集履歴
2
質問文の<code>に```を前後改行してもともと入っています。
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,7 +19,8 @@
|
|
19
19
|
|
20
20
|
|
21
21
|
header.phpのコードを追記します。
|
22
|
+
```
|
22
|
-
|
23
|
+
<!DOCTYPE html>
|
23
24
|
<html lang="ja">
|
24
25
|
<head>
|
25
26
|
<meta charset="UTF-8">
|
@@ -52,9 +53,9 @@
|
|
52
53
|
</nav>
|
53
54
|
</div>
|
54
55
|
</header>
|
55
|
-
コード
|
56
56
|
```
|
57
57
|
|
58
|
+
|
58
59
|
あと先ほどから気になることが。
|
59
60
|
ご指摘いただいた「<?php echo get_template_directory_uri(); ?>」の"uri"をwordpress側で全て修正し、google検索で「<?php echo get_template_directory_url(); ?>」と検索したところ、検索結果もcodexの中身も全て"url"の部分が"uli"と表示されます。どのサイトも全てそのように表示されます。このパソコンが何かおかしいのでしょうか・・。
|
60
61
|

|
1
header\.phpのコードを追記しました。あと他の不可解な現象も追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,4 +15,46 @@
|
|
15
15
|
|
16
16
|
ここが原因でしょうか。
|
17
17
|
|
18
|
-
すみません、ご教示ください。
|
18
|
+
すみません、ご教示ください。
|
19
|
+
|
20
|
+
|
21
|
+
header.phpのコードを追記します。
|
22
|
+
```<!DOCTYPE html>
|
23
|
+
<html lang="ja">
|
24
|
+
<head>
|
25
|
+
<meta charset="UTF-8">
|
26
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
|
27
|
+
<meta property="og:title" content="">
|
28
|
+
<meta property="og:url" content="">
|
29
|
+
<meta property="og:image" content="img/">
|
30
|
+
<meta property="og:description" content="">
|
31
|
+
<title><?php bloginfo('name'); ?></title>
|
32
|
+
<link rel="stylesheet" href="<?php echo get_template_directory_url(); ?>/css/cssreset-min.css">
|
33
|
+
<link rel="stylesheet" href="<?php echo get_template_directory_url(); ?>/style.css">
|
34
|
+
<link rel="shortcut icon" href="img/favicon.ico">
|
35
|
+
<link rel="apple-touch-icon" href="img/favicon.ico">
|
36
|
+
<link href="https://fonts.googleapis.com/css?family=Cambay:400,700" rel="stylesheet">
|
37
|
+
<?php wp_head(); ?>
|
38
|
+
</head>
|
39
|
+
<body>
|
40
|
+
<div id="container">
|
41
|
+
<header>
|
42
|
+
<div class="header_logo">
|
43
|
+
<h1><a href="<?php echo home_url(); ?>"><img src="<?php get_template_directory_url(); ?>/img/logo_exhibition.png" alt="展示会情報calotypephotoweb"></a></h1>
|
44
|
+
</div>
|
45
|
+
<div class="nav-wrapper">
|
46
|
+
<nav>
|
47
|
+
<ul>
|
48
|
+
<li><a href="index.html">展示会一覧</a></li>
|
49
|
+
<li><a href="">写真家一覧</a></li>
|
50
|
+
<li><a href="about.html">運営会社</a></li>
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
</div>
|
54
|
+
</header>
|
55
|
+
コード
|
56
|
+
```
|
57
|
+
|
58
|
+
あと先ほどから気になることが。
|
59
|
+
ご指摘いただいた「<?php echo get_template_directory_uri(); ?>」の"uri"をwordpress側で全て修正し、google検索で「<?php echo get_template_directory_url(); ?>」と検索したところ、検索結果もcodexの中身も全て"url"の部分が"uli"と表示されます。どのサイトも全てそのように表示されます。このパソコンが何かおかしいのでしょうか・・。
|
60
|
+

|