質問編集履歴
2
functions.phpのコードに誤りがございました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -94,10 +94,6 @@
|
|
94
94
|
|
95
95
|
foreach($posts as $post)
|
96
96
|
|
97
|
-
foreach ( $terms as $term )
|
98
|
-
|
99
|
-
$term_slug = $term -> slug;
|
100
|
-
|
101
97
|
$link .= '<div><a href="'. get_permalink($post->ID) . '">' . $post->post_title . '</a></div>';
|
102
98
|
|
103
99
|
$output = preg_replace('@' . preg_quote($match) . '@', $match . $link, $output);
|
1
該当のソースコードに誤りがございました。こちらに訂正いたします。
test
CHANGED
File without changes
|
test
CHANGED
@@ -98,7 +98,7 @@
|
|
98
98
|
|
99
99
|
$term_slug = $term -> slug;
|
100
100
|
|
101
|
-
$link .= '<div
|
101
|
+
$link .= '<div><a href="'. get_permalink($post->ID) . '">' . $post->post_title . '</a></div>';
|
102
102
|
|
103
103
|
$output = preg_replace('@' . preg_quote($match) . '@', $match . $link, $output);
|
104
104
|
|