[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
