Works with WooCommerce?
-
Great job on your plugin!
I am successfully using the following code for posts:
<strong><?php if (is_category()) { ?></strong> <div id="catimg" class="section" style="background-repeat: no-repeat; background-image: <strong>url(<?php if (function_exists('z_taxonomy_image_url')) echo z_taxonomy_image_url(); ?>);</strong> background-attachment: scroll; background-position: center center; " data-section-bg-repeat="stretch"><div class="container" style="height:280px;"></div></div> <?php } else { ?>....<?php } ?>Now I would like to use it for WooCommerce, but the following doesn’t work:
<strong><?php if (is_product_category()) { ?></strong> <div id="catimg" class="section" style="background-repeat: no-repeat; background-image: <strong>url(<?php if (function_exists('z_taxonomy_image_url')) echo z_taxonomy_image_url(); ?>);</strong> background-attachment: scroll; background-position: center center; " data-section-bg-repeat="stretch"><div class="container" style="height:280px;"></div></div> <?php } else { ?>....<?php } ?>Any Idea?
Many Thanks!
The topic ‘Works with WooCommerce?’ is closed to new replies.