回答編集履歴

1

numberpostsをposts_per_pageに変更

2020/03/10 10:33

投稿

rjunakc
rjunakc

スコア368

test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  $args = array(
24
24
 
25
- 'numberposts' => 3,
25
+ 'posts_per_page' => 3,
26
26
 
27
27
  'post_type' => 'sale',
28
28