Viewing 5 replies - 1 through 5 (of 5 total)
  • remove_action( 'woocommerce_before_subcategory_title', 'woocommerce_subcategory_thumbnail', 10 );
    Thread Starter itchybrain

    (@itchybrain)

    Gday Lorro
    thanks for your prompt help, but unfortunately it removed thumbs from the subcategory lists.
    The thumb I need to remove is actually the larger category image before the subcategories.
    cheers
    Darryl

    Thread Starter itchybrain

    (@itchybrain)

    Here is a 1-minute screencast to better show what I’m hoping to achieve: https://screencast.com/t/nR3ruRskc5

    Oops. Looks like a theme-specific feature. Can’t see a hook for it. I don’t have this in my theme. Are you using a www.ads-software.com theme?

    You might see the code for it in:
    wp-content/themes/your-theme/woocommerce/archive-product.php

    Thread Starter itchybrain

    (@itchybrain)

    Ah, thanks for the tip Lorro, I didn’t realise a theme would make such a change. It turns out they did indeed. If anyone else gets this thread, and is having the issue with the Enfold theme, here is the necessary function:
    ‘add_action(‘init’, function() {
    remove_action( ‘woocommerce_before_shop_loop’, ‘avia_woocommerce_overview_banner_image’, 10);
    });’

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Function to remove archive category thumb’ is closed to new replies.