
20,'category'=>-1);// 表示する記事数 未分類(cat_id=1)のポストはのぞく
$myposts = get_posts( $args );
foreach( $myposts as $post ) {
setup_postdata($post);
$cat = get_the_category();$cat = $cat[1];
if ( $cat->category_parent == '' ) :
$cat = get_the_category();$cat = $cat[0];
endif;
?>
- cat_name;?> |
$diff ){echo 'new';}
?>
