質問編集履歴
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -63,3 +63,31 @@
|
|
63
63
|
wp_reset_postdata(); ?>
|
64
64
|
|
65
65
|
```
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
追記:下記のコードだと記事を読み込むこともできませんでした。
|
70
|
+
|
71
|
+
過去に作成したWordpressのサイトではこちらで問題なく動いていたのですが、原因が不明です。
|
72
|
+
|
73
|
+
```php
|
74
|
+
|
75
|
+
<!--index.php-->
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<?php if (have_posts()) :
|
80
|
+
|
81
|
+
while (have_posts()) : the_post(); ?>
|
82
|
+
|
83
|
+
<!--ループ内容-->
|
84
|
+
|
85
|
+
<?php endwhile; ?>
|
86
|
+
|
87
|
+
<?php else : ?>
|
88
|
+
|
89
|
+
<p>お探しの記事は見つかりませんでした。</p>
|
90
|
+
|
91
|
+
<?php endif; ?>
|
92
|
+
|
93
|
+
```
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,9 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
```
|
25
|
+
```php
|
26
|
+
|
27
|
+
<!--index.php-->
|
26
28
|
|
27
29
|
<?php
|
28
30
|
|
1
文言の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
Wordpressで記事を読み込む際にサイト内でカテゴリー・タグ・検索で投稿記事を絞ろうとしても、絞ることができず全ての記事が表示されてしまいます。
|
6
|
+
|
7
|
+
|
6
8
|
|
7
9
|
URL/category/XXXXXXX/
|
8
10
|
|