• Resolved dim795

    (@dim795)


    Hi,
    Please tell me how to allow html in the short description of the product?

    <div class="dokan-product-short-description">
                                    <label for="post_excerpt" class="form-label"><?php esc_html_e( 'Short Description', 'dokan-lite' ); ?></label>
                                    <?php wp_editor( $post_excerpt , 'post_excerpt', apply_filters( 'dokan_product_short_description', array( 'editor_height' => 50, 'quicktags' => false, 'media_buttons' => false, 'teeny' => true, 'editor_class' => 'post_excerpt' ) ) ); ?>
                                </div>

    For example this code <iframe width="560" height="315" src="https://www.youtube.com/embed/klFTzeris5Y" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Viewing 1 replies (of 1 total)
  • Robin

    (@emazharulislam)

    Hello @dim795,

    I am sorry to inform you at this moment Dokan doesn’t support the HTML into the short description field by default. In order to allow that, you may need a good amount of customization.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Html in the short description of the product’ is closed to new replies.