京橋千疋屋 各店舗限定商品
京橋千疋屋 各店舗限定商品

店舗最新情報

$count,
//’nopaging’ => true,
‘post__in’ => $sticky,
);
$the_query = new WP_Query( $args1 );
$cc = 1;
if ( $the_query->have_posts() ){
while ( $the_query->have_posts() ) : $the_query->the_post();
if($cc > 9 ){ break; }

if($the_query->post->post_name === “fujisawa-renew” || $the_query->post->post_status !== “publish”){continue;}

$cc++;
$tenpo_count = 0;
foreach( ( get_the_category() ) as $this_cat ) {
if($this_cat->category_parent == 0){
$tenpo_count++;
}
if($tenpo_count == 1 && $this_cat->category_parent == 0){
$cate = $this_cat;
}
if($tenpo_count == 0 && $this_cat->category_parent == 0){
$cate = $this_cat;
}
}
?>

0 ){
$args = array(
‘posts_per_page’ => $posts_per_page,
‘post__not_in’ => $sticky,
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ){
while ( $the_query->have_posts() ) : $the_query->the_post();

if($the_query->post->post_name === “fujisawa-renew”){continue;}

$tenpo_count = 0;
foreach( ( get_the_category() ) as $this_cat ) {
if($this_cat->category_parent == 0){
$tenpo_count++;
}
if($tenpo_count == 1 && $this_cat->category_parent == 0){
$cate = $this_cat;
}
if($tenpo_count == 0 && $this_cat->category_parent == 0){
$cate = $this_cat;
}
}
?>