'post',
'posts_per_page' => 4,
'category_name' => 'latest',
'orderby' => 'date',
'order' => 'DESC'
);
$posts_cat1 = new WP_Query($args_cat1);
if ($posts_cat1->have_posts()) :
while ($posts_cat1->have_posts()) : $posts_cat1->the_post();
?>
このカテゴリの記事はまだありません。
'post',
'posts_per_page' => 4,
'category_name' => 'shinsa',
'orderby' => 'date',
'order' => 'DESC'
);
$posts_cat2 = new WP_Query($args_cat2);
if ($posts_cat2->have_posts()) :
while ($posts_cat2->have_posts()) : $posts_cat2->the_post();
?>
このカテゴリの記事はまだありません。
'post',
'posts_per_page' => 4,
'category_name' => 'tainou',
'orderby' => 'date',
'order' => 'DESC'
);
$posts_cat3 = new WP_Query($args_cat3);
if ($posts_cat3->have_posts()) :
while ($posts_cat3->have_posts()) : $posts_cat3->the_post();
?>
このカテゴリの記事はまだありません。
'post',
'posts_per_page' => 4,
'category_name' => 'howto',
'orderby' => 'date',
'order' => 'DESC'
);
$posts_cat4 = new WP_Query($args_cat4);
if ($posts_cat4->have_posts()) :
while ($posts_cat4->have_posts()) : $posts_cat4->the_post();
?>
このカテゴリの記事はまだありません。