Include Category Banner on Product Page
-
Hi there!
I love the plugin, it was extremely easy to set up! My client asked if it’s possible to include the category banner on the child product. I thought it might be possible using something inside functions.php, but wanted to ask in case this is something in development, or included in the paid version of the plugin. Note: I’m not really a developer, I just end up coming up with solutions sometimes.
What I was thinking was something like…
if ( is_product() ) {add_action(‘woocommerce_before_main_content’, $plugin_admin, ‘WBM_show_category_banner’,10);}But I feel like it’s missing some kind of query for the category. In the best of worlds, it wouldn’t be a problem because this site is 95% single-category-per-product, but the other 5%…
Best,
Liz
- The topic ‘Include Category Banner on Product Page’ is closed to new replies.