[ad_1]
Hi @wookiemorrowindova,
Not really sure what’s going on. I tried changing my test site to Czech language and characters are rendering normally here.
Please try this:
- Go to Pluginy > Editor souboru pluginu.
- Select WordPress Popular Posts using the dropdown at the top right of your screen.
- Click on src > Output.php to edit this file.
- Find
$dom->loadHTML($html);(it should be around line 166) and change it to$dom->loadHTML(mb_convert_encoding($html 'HTML-ENTITIES', 'UTF-8')); - Click on the “Aktualizovat soubor” button below to save changes.
Thank you very much Hector 🙂 . It works.
But the code was missing a comma after the $html. (ChatGPT figured it out.)
$dom->loadHTML(mb_convert_encoding($html, ‘HTML-ENTITIES’, ‘UTF-8’));
Thank you for your plugin. 🙂
