新着記事(コード逃がし)

News & Infomation

ニュース & 新着情報


    array(
    array( ‘key’=>’bzb_show_toppage_flag’,
    ‘compare’ => ‘NOT EXISTS’
    ),
    array( ‘key’=>’bzb_show_toppage_flag’,
    ‘value’=>’none’,
    ‘compare’=>’!=’
    ),
    ‘relation’=>’OR’
    ),
    ‘showposts’=>10,
    ‘order’=>’DESC’
    );

    query_posts($args);

    if ( have_posts() ) :
    while ( have_posts() ) : the_post();
    $cf = get_post_meta($post->ID);
    //$cat = get_the_category(); $cat = $cat[0]; {echo $cat->cat_name;}
    $cat_now = get_the_category();$cat_now = $cat_now[0];$now_id = $cat_now->term_id ;
    $recent_class =”new_post_article work-item works0$now_id popular_post_box recent-“.$i;
    ?>

  • >

cat_name;
} ?>