Support » Plugin: Yoast Breadcrumbs » [Plugin: Yoast Breadcrumbs] Doesn't work with special charactres

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes, same here. Can someone help us. Its good plugin, but without special characters support its not working for me. Please, reply with solution. Thanks.

    Converting to UTF-8 is no solution.

    Katenutri,
    I find the solution.
    1. In yst_plugin_tools.php on line 165 and 203 find this function: “htmlentities” and replace it with “stripslashes”.
    2. Edit Yoast Breadcrumbs plugin in wordpress admin page. Replace Home, Blog etc. with words from your native language:

    $opt[‘home’] = “Home(Wordinyourlanguage)”;
    $opt[‘blog’] = “Blog(Wordinyourlanguage)”;
    $opt[‘sep’] = “»”;
    $opt[‘prefix’] = “You are here:(Wordinyourlang.)”;
    $opt[‘boldlast’] = true;
    $opt[‘nofollowhome’] = false;
    $opt[‘singleparent’] = 0;
    $opt[‘singlecatprefix’] = true;
    $opt[‘archiveprefix’] = “Archives for(Wordinyourlanguage)”;
    $opt[‘searchprefix’] = “Serches for(Wordinyourlanguage)”;

    3. Go to Settings/Breadcrumbs and again replace Home, Blog etc. with words from your native language.

    In WordPress admin panel this words are still showing like this “Ð�аÑ�ало”, but on website everything is good.

    Good luck 😉

    Original post is here, but it`s uncomplete:
    http://wordpress.org/support/topic/plugin-yoast-breadcrumbs-utf8-for-home

    Thread Starter katenutri

    (@katenutri)

    Hi,

    Thanks for posting back.

    However, my problem isn’t that special characters display incorrectly, but that “Special characters get overwritten and cannot be saved.”

    I put in a word in Polish, save settings and when I leave the page it goes back to “Home” again. It only saves the value if I use no special characters.

    I replaced “htmlentities” with “stripslashes” but it didn’t help.

    Thanks anyway.

    Kate

    Hi,
    You should make steps 2 and 3. Maybe i did not explain correctly. After step 1 you must edit yoast-breadcrumbs.php and write you special characters in the correct fields. And after that write them again in wordpress admin/Settings/Breadcrumbs. Then it somehow recognize them and everything is ok.

    Only replacing “htmlentities” with “stripslashes” is not enought. Try it again.

    Regards.

    Thread Starter katenutri

    (@katenutri)

    Works indeed. It was the “edit yoast-breadcrumbs.php” that was missing in your first post.

    Well, I do think that this is a major bug in the plugin and should be fixed.

    Many thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Yoast Breadcrumbs] Doesn't work with special charactres’ is closed to new replies.