xuannguyen99
Forum Replies Created
-
Great! It works!!! Thank you!
It still doesn’t work. Please tell me when you see there’s something wrong in this:
if (!empty($virtue[‘virtue_banner_upload’][‘url’])) { ?>
<div class=”container”>
<div class=”virtue_banner”>
<?php if(is_product_category(‘9’)) {
echo ‘<img src=”https://quangducstore.com/wp-content/uploads/2016/04/o-GREEN-TEA-facebook-e1460474401346.jpg”>’;
} else {
echo ‘<img src=”https://quangducstore.com/wp-content/uploads/2016/04/o-GREEN-TEA-facebook-e1460474401346.jpg”>’;
}?>
</div>
</div>
<?php } ?>
</header>Forum: Themes and Templates
In reply to: [Virtue] Change the font weight of custom menu in widgetThank you so much, it works!
Nothing happens. Here’s the code from line 82 to the end:
if (!empty($virtue[‘virtue_banner_upload’][‘url’])) { ?>
<div class=”container”>
<div class=”virtue_banner”>
img alt=”” src=”<?php echo esc_url($virtue[‘virtue_banner_upload’][‘url’]); ?>” />
<?php if(is_page(‘9’)) {
echo ‘<img src=”https://quangducstore.com/wp-content/uploads/2016/04/o-GREEN-TEA-facebook-e1460474401346.jpg”>’;
} else {
echo ‘<img src=”https://quangducstore.com/wp-content/uploads/2016/04/o-GREEN-TEA-facebook-e1460474401346.jpg”>’;
}?>
</div>
</div>
<?php } ?>
</header>Here’s the link to my page 9: https://quangducstore.com/danh-muc/tra/