< ?php query_posts(‘cat=6&posts_per_page=9’); ?>
< ?php if (have_posts()) : ?>
< ?php while (have_posts()) : the_post(); ?>
〜〜〜
< ?php query_posts(‘cat=6&posts_per_page=9’); ?>
を記事ループ前に設置
cat=(カテゴリID)&posts_per_page=(表示件数)
で指定
Tags: wordpress
< ?php query_posts(‘cat=6&posts_per_page=9’); ?>
< ?php if (have_posts()) : ?>
< ?php while (have_posts()) : the_post(); ?>
〜〜〜
< ?php query_posts(‘cat=6&posts_per_page=9’); ?>
を記事ループ前に設置
cat=(カテゴリID)&posts_per_page=(表示件数)
で指定
Tags: wordpress