template file name : page.php

‘post’ // 投稿タイプ ‘category_name’ => ‘カテゴリのスラッグ’, // 絞り込むカテゴリ ‘tag’ => ‘タグスラッグ’, // 絞り込むタグ ‘s’ => ‘検索文字列’, // 検索文字列 ‘posts_per_page’ => 3, // 表示件数 ‘post_status’ => ‘publish’, // 公開済みのみ ‘orderby’ => ‘date’, //新着順 ‘order’ => ‘ASC’, // 昇順 ); query_posts($args); // ループ if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>