Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #525866

    Hi! I just wanted to know if there is a way to add custom content before the WooCommerce product loop.

    What I really want to do is add an Easy Slider for all the WooCommerce related pages, not just the shop, but also for the categories.

    I found a function ( avia_woocommerce_before_shop_loop() ) Should I add my content there? Or there is an another way to do it?



    Hey LucasDessin!

    I’m not sure if an easy slider would work but yes you can use a filter to add content in that area. Here is an example of what you would add to your child theme functions.php file.

    add_action( 'woocommerce_before_shop_loop', 'enfold_customization_before_shop_loop', 5);
    function enfold_customization_before_shop_loop() {
         echo 'some custom content';
         echo do_shortcode('[your_shortcode][/your_shortcode]');

    Best regards,



Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom Header for WooCommerce products’ is closed to new replies.