I've been digging and digging, but I'm not finding the answers I need on this. I currently am using WordPress - Woocommerce, a purchased theme called Shopifiq.
I want to display a different banner on each product category page. The only thing I can think of is adding something like:
if ( is_product_category( '#' ) ) {
echo do_something(); //display category thumbnail
}
in maybe the functions.php file, but I'm not too familiar with PHP and I'm struggling. Any help would be super appreciated!
- edit
I should have mentioned I want the banner to replace the blue bar across the top, which is handles in page_titles.php. I installed a plugin that will display banners on product category pages if anyone is looking - http://wpbackoffice.com/plugins/woocommerce-category-banner/
But I want it to replace the blue title bar, not just show on the page.
Here's a category page of mine right now: http://dev.arnoldsofficefurniture.com/product-category/conference/
The logic should be something like:
- if product category, then div class="slider single page" should display a background of the product category banner.