Product Description Problem

This topic contains 1 reply and 2 voices, and was last updated by towhid 9 years, 8 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
March 15, 2015 at 10:53 pm 39194
towhid Hi, Everytime when I update the product. The description gone haywire. I have to align them properly and update. But once update the second time, it will go haywire again.. Screenshot : http://4.bp.blogspot.com/-EqyA9s1JuHM/VQW40XyPYbI/AAAAAAAACiU/R3P6va08rvc/s1600/des.png
March 16, 2015 at 10:36 am 39208
towhid towhid

Hello Clement,

Please open Wp content/plugins/dokan-plugin/templates and open product-edit.php.

In line number 325 you will get this line- <?php wp_editor( esc_textarea( $post->post_content ), 'post_content', array('editor_height' => 50, 'quicktags' => false, 'media_buttons' => false, 'teeny' => true, 'editor_class' => 'post_content') ); ?>

You have to replace this line with this line- <?php wp_editor( wpautop( $post->post_content ), 'post_content', array('editor_height' => 50, 'quicktags' => false, 'media_buttons' => false, 'teeny' => true, 'editor_class' => 'post_content') ); ?>

Thank You 🙂

Viewing 1 Posts - 1 through 1 (of 1 total)