Weird problem in css | WordPress.org

[ad_1]

Plugin Author
sbouey

(@sbouey)

The text you have is in a text module ? you didn’t send me a link to see the problem. can you try to put this in function.php

function falang_divi_override_content($content){
    $start_with = @substr_compare($content, "</p>\n", 0, strlen("</p>\n")) == 0 ? true:false ;
    $end_with = @substr_compare($content, "\n<p>", -strlen("\n<p>"))==0?true:false;
    if ( $start_with && $end_with  ){
        $content = substr($content,5);
        $content = substr($content,0,-4);
    }
    return $content;
}
add_filter ('falang_divi_override_content','falang_divi_override_content',10,1);

It’s perhaps the problem i have see but not put in the offical release of Divi, i have just add a new filter

Perfect!! this did the trick……

Plugin Author
sbouey

(@sbouey)

Great, i check to put this in the lite version of Falang for Divi. i put a link from this other thread to this thread.

Have a nice week-end

Stéphane

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer