• Resolved ches88

    (@ches88)


    I’m trying to use the Getwid accordion in a WooCommerce product description page. The accordion block doesn’t appear in the editor, so I’m pasting into the code behind.
    If I update and open the live page without returning to the visual editor the accordion works as it should.
    If, instead, I switch to the visual editor before updating it strips away part of the code:

    <span class=”wp-block-getwid-accordion__icon is-active”><i class=”fas fa-plus”></i></span>
    <span class=”wp-block-getwid-accordion__icon is-passive”><i class=”fas fa-minus”></i></span>

    becomes:

    <i class=”fas fa-plus”></i>
    <i class=”fas fa-minus”></i>

    All the rest of the Getwid accordion code remains intact.

    Can anyone help me resolve this, if it can be resolved? Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Support dimned

    (@dimned)

    Hi @ches88,
    The Getwid is an addon for Gutenberg Block Editor while WooCommerce product post type still uses the Classic Editor instead. Thus the Product post type does not support blocks and they can not be used on Product pages. You should wait till WooCommerce enable the block editor for Products or try enabling it on your own using custom solutions.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem using Getwid accordion in WooCommerce product description’ is closed to new replies.