• Как исправить отображение шрифта меню в ВордПресс?

    @ommunist
    Делаю и поддерживаю мультиязычные сайты
    https://yootheme.com/support/question/97308
    In my tests I could slightly narrow down the problem.

    A ampersand character followed by a standard space is transformed to a literal HTML entity &.

    But once there is any other character following it, the & is not transformed. An non-breaking space after the & would also prevent the tansformation.

    Please try the following workaround:

    Edit the menu item.

    Remove the space character immediataly after the & and instead type a non-breaking space immediately behind the & character:

    To get a non-breaking space on Windows:
    Hold down the key ALT then type 0160 (Alt+0160) on the number pad.

    To get a non-breaking space on Mac OS:
    Hold down the key alt and once press the space bar.

    Save the menu.

    Reload the page in the frontend and test.

    нечайниковский способ - обернуть функции вывода меню в htmlspecialchars_decode()
    Ответ написан
    1 комментарий