<div class="row">
<?php
$taxonomyName = "product_tag";
if($taxonomyname = "latest-product"){
//This will get high layer phrases solely. That is finished by setting mum or dad to 0.
$parent_terms = get_terms($taxonomyName, array('mum or dad' => 0, 'orderby' => 'term_id', 'hide_empty' => true, 'order' => 'ASC'));
foreach ($parent_terms as $pterm) { ?>
<div class="col-xs-3 col-md-3 padding_fix">
<a href="<?php echo get_term_link($pterm->identify, $taxonomyName); ?>">
<?php
$thumbnail_id = get_woocommerce_term_meta($pterm->term_id, 'thumbnail_id', true);
// get the picture URL for mum or dad class
$picture = wp_get_attachment_url($thumbnail_id);
echo '<img src="'.$picture.'" alt="" width="762" peak="365" />'; ?>
<h3 class="text-center" fashion="coloration: #fff;"><?php echo $pterm->identify; ?></h3>
</a>
</div>
<?php } ?>
<?php } ?>
that is my above code the place i wish to show product with latest-product tag identify.
I’m not in a position to show product by latest-product tag.