回答編集履歴

1

間違いを修正

2019/04/19 04:20

投稿

marlboro_tata
marlboro_tata

スコア525

test CHANGED
@@ -18,9 +18,9 @@
18
18
 
19
19
  $tax_query[] = array(
20
20
 
21
- 'taxonomy' => 'books_cat',
21
+ 'taxonomy' => 'タクソノミー名',
22
22
 
23
- 'field' => 'id',
23
+ 'field' => 'slug',
24
24
 
25
25
  'terms' => $val,
26
26