WordPress.org

Support

Support » Plugins and Hacks » Hide product images in specific category

Hide product images in specific category

  • cerstrand_mace
    Member

    @cerstrand_mace

    I would simply like to hide my product images when in a specific category.

    I tried this simple conditional:

    <?php if ( is_category("111")) { } else { ?>
    
    <?php do_action('woocommerce_before_subcategory_title', $category ); ?></div> 
    
    <?php } ?>

    …but the images are still there in all categories. What to do?

    http://wordpress.org/plugins/woocommerce/

  • The topic ‘Hide product images in specific category’ is closed to new replies.