Commit c6dcac16 authored by Marwa Sfari's avatar Marwa Sfari

[Bugfix]JIRA : Nap-62 -> Remove description cover when empty

parent ee7adbb5
......@@ -125,7 +125,9 @@ $child_category = get_terms('product_cat', array('parent' => $cateID, 'child_of'
?>
<div class="cover-wrapper abs-full transition" data-cat = "#cat<?php echo $value->term_id ?>" style = "background-image: url('<?php echo nap_category_image($value->term_id) ?>')">
<div class="cover-desc-wrapper">
<?php if ($value->description){ ?>
<p><?php echo $value->description; ?></p>
<?php } ?>
</div>
</div>
<?php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment