Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    That h2 wrapping tag might be coming from your theme rather than the core WooCommerce plugin. On my side, the title tag is wrapped in a normal Div:


    Link to image: https://d.pr/i/EJILdI

    Just to make sure – are you getting the same tag when temporarily switching to a different theme?

    In terms of removing the add-to-cart button, I can think of two ways:

    Thread Starter mesmer7

    (@mesmer7)

    Where you have <div class=”wc-block-grid_product-title>
    I have <h2 class=”woocommerce-loop-product__title”>

    I tested the theme. I switched to the 2019 theme. But the h2 tag remains.

    I’m using Storefront as a parent theme, and I’ve developed my own child theme. I went through my functions.php file, and I can’t find any filter that would account for this.

    I even momentarily switched to the block editor to test if the classic editor plugin was causing the problem. I used the shortcode block. But it made no difference.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I format/filter the shortcode?’ is closed to new replies.