Plugin Author
sbouey
(@sbouey)
Hi,
It’s gutemberg latest post , i look on this problem and write you back.
Stéphane
Falang Team
Plugin Author
sbouey
(@sbouey)
It’s true there are a bug when display the full post content but work fine with the excerpt
the title is well translated in each case.
i will see how to fix this bug.
Stéphane
Plugin Author
sbouey
(@sbouey)
I have found the problem
in the latest post gutemberg bloc
wp-includes/blocks/latest-posts.php
for post content they don’t apply filter but for other exerpt/title it’s done
if you replace the line 152
from
$post_content = wp_kses_post( html_entity_decode( $post->post_content, ENT_QUOTES, get_option( 'blog_charset' ) ) );
to
$post_content = wp_kses_post( html_entity_decode( apply_filters( 'the_content', $post->post_content ), ENT_QUOTES, get_option( 'blog_charset' ) ) );
the problem is solved.
perhaps it’s possible to change this in gutemberg or make a specific block for this when you want to display content.
Stéphane
Yes.
That solved the problem.
Thank you very much 🙂