新着機能

global $post;
$tmp_post = $post;
$category_ids = array( '13' );
$numberposts = '10';
foreach ( $category_ids as $category_id ) {
?>

 

}
?>

    $postslist = get_posts( "category=$category_id&numberposts=$numberposts&order=DESC&orderby=date" ); foreach ( $postslist as $post ) { ?>

  • ID ); ?>>post_title; ?>

}
$post = $tmp_post;
?>

このページの先頭へ