回答編集履歴
2
test
CHANGED
@@ -16,6 +16,6 @@
|
|
16
16
|
|
17
17
|
```get_the_title()```ですね…
|
18
18
|
|
19
|
-
ループ
|
19
|
+
ループ内は```the_title()```
|
20
20
|
|
21
|
-
ループ
|
21
|
+
ループ外は```get_the_title()```
|
1
test
CHANGED
@@ -4,10 +4,18 @@
|
|
4
4
|
|
5
5
|
<?php
|
6
6
|
|
7
|
-
$canonical = the_title();
|
7
|
+
$canonical = get_the_title();
|
8
8
|
|
9
9
|
include ('header.php');
|
10
10
|
|
11
11
|
?>
|
12
12
|
|
13
13
|
```
|
14
|
+
|
15
|
+
kei344さん、ご指摘ありがとうございます。
|
16
|
+
|
17
|
+
```get_the_title()```ですね…
|
18
|
+
|
19
|
+
ループの内は```the_title()```
|
20
|
+
|
21
|
+
ループの外は```get_the_title()```
|