slug != 'customised-tea' ) : ?>
slug != 'customise-tea' ) :?>
array('products'),
'post_status' => 'publish',
'posts_per_page' => -1,
'tax_query' => array(
array(
'taxonomy' => 'products_category',
'field' => 'slug',
'terms' => 'customised-tea',
)
),
'orderby' => array('menu_order' => 'DESC'),
'has_password' => FALSE, // NO PASSWORD POST SHOW
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) :
?>
have_posts() ) : ?>
slug != 'customise-tea' ) : ?>
term_id); ?>
slug; switch ($category) : case 'thai-tea': $color = '-orange'; break; case 'taiwan-tea': $color = '-brown'; break; case 'fruit-tea': $color = '-redpink'; break; case 'green-tea': $color = '-green'; break; case 'oolong-tea': $color = '-yellow'; break; case 'japanese-green-tea': $color = '-darkgreen'; break; default : $color = ''; endswitch; ?> array('products'), 'post_status' => 'publish', 'posts_per_page' => -1, 'tax_query' => array( array( 'taxonomy' => 'products_category', 'field' => 'slug', 'terms' => $term->slug, ) ), 'orderby' => array('menu_order' => 'DESC'), 'has_password' => FALSE, // NO PASSWORD POST SHOW ); $the_query = new WP_Query( $args ); if ( $the_query->have_posts() ) : ?>
have_posts() ) : $the_query->the_post();
$product_code = get_field('product_code');
$product_image = get_field('product_image');
$product_detail = get_field('product_detail');
$product_name = get_field('product_name');
?>
have_posts() ) : $the_query->the_post(); ?>
have_posts() ) : ?>
CUSTOMISED TEA
With our research and development expertise brings a variety of aromas and flavours for your unique tea.
have_posts() ) : $the_query->the_post();
$product_image = get_field('product_image');
$product_name = get_field('product_name');
?>
have_posts() ) : $the_query->the_post(); ?>