質問編集履歴
1
変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,6 +7,24 @@
|
|
7
7
|
### 現状のコード
|
8
8
|
```ここに言語を入力
|
9
9
|
<?php
|
10
|
+
/**
|
11
|
+
* The main template file
|
12
|
+
*
|
13
|
+
* This is the most generic template file in a WordPress theme
|
14
|
+
* and one of the two required files for a theme (the other being style.css).
|
15
|
+
* It is used to display a page when nothing more specific matches a query.
|
16
|
+
* E.g., it puts together the home page when no home.php file exists.
|
17
|
+
*
|
18
|
+
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
19
|
+
*
|
20
|
+
* @package WordPress
|
21
|
+
* @subpackage Twenty_Nineteen
|
22
|
+
* @since Twenty Nineteen 1.0
|
23
|
+
*/
|
24
|
+
|
25
|
+
get_header();
|
26
|
+
?>
|
27
|
+
<?php
|
10
28
|
$categories = get_categories();
|
11
29
|
foreach($categories as $category) :
|
12
30
|
?>
|
@@ -22,6 +40,9 @@
|
|
22
40
|
<?php endwhile; endif; ?>
|
23
41
|
</ul>
|
24
42
|
<?php endforeach; ?>
|
43
|
+
<?php
|
44
|
+
get_footer();
|
45
|
+
|
25
46
|
```
|
26
47
|
|
27
48
|
### エラー表示
|