Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Chouby

    (@chouby)

    Where do you put this code? Have you a link demonstrating the issue?

    Thread Starter dahund

    (@dahund)

    i have commented out the code, but i but it in header together with a linkin icon, which shows.

    http://www.viegandmaagoe.dk

    Plugin Author Chouby

    (@chouby)

    Could you put it again?
    And tell me where I can find any content in English.
    I see no posts on http://www.viegandmaagoe.dk/en/ and the menu does not appear to be translated.

    Thread Starter dahund

    (@dahund)

    I have turned it on again, and added and english menu for “Hvem arbejder vi med?” -> “Whom are we working with?”

    Plugin Author Chouby

    (@chouby)

    Could you try this

    <ul id="language_bar">
    <?php pll_the_languages(array('show_flags'=>1, 'show_names'=>0));?>
    </ul>

    instead of

    <div id="language_bar">
    <?php pll_the_languages(array('show_flags'=>1, 'show_names'=>0));?>
    </div>

    which is not correct html

    Thread Starter dahund

    (@dahund)

    same 🙂 why isn’t correct HTML ?

    Thread Starter dahund

    (@dahund)

    i figured out what you mean about div’s thanks for tip 🙂 but flags still not working.

    Plugin Author Chouby

    (@chouby)

    It’s wrong html because the function pll_the_languages outputs each language item wrapped by <li></li>

    I believe I finally got it. Could you remove the css rule

    body.page #branding img {
        display: none;
    }

    at line 103 of your style.css

    Thread Starter dahund

    (@dahund)

    Perfect 🙂 thx so very much. I was going crazy. strange that css rule was part of original Twenty eleven style.css

    🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Flags disappear from childmenu’ is closed to new replies.