COCOLIA

NEWS 最新情報

'news-category', 'hide_empty' => false, )); if(count($terms)): ?> slug; $name = $term->name; ?>

'news', 'numberposts' => -1, 'tax_query' => array( array( 'taxonomy' => 'news-category', 'field' => 'slug', 'terms' => $slug, ) ) )); foreach ($posts as $post): $pdf_url = get_field('pdf', $post->ID); $official_url = get_field('official_url', $post->ID); $shops = p2p_type( 'news_to_shop' )->get_connected( $post->ID )->posts; if(isset($shops[0])) { $shop_name = $shops[0]->post_title; $detail = get_field('category_detail', $shops[0]->ID); $term_list = wp_get_post_terms($shops[0]->ID, 'shop_floor', array("fields" => "all")); if(count($term_list)) { $floor = $term_list[0]; } } else { $shop_name = ""; $detail = ""; $floor = null; } ?>
ID); if(!$link_type){$link_type = 'pdf';} $url = get_field($link_type, $post->ID);?> 'news-block__image'));?>


[name);?> ]
post_title);?>

post_date));?>

post_content);?>