language switcher

This topic is: Not resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 1 reply, has 2 voices, and was last updated by  Jacob 1 year, 5 months ago.

  • Author
    Posts
  • #10024

    oscarooh
    Member
    Post count: 7

    I installed Polylang plugin and it workds perfect in your theme.

    however I wish to place the language switcher at the top of the a translated post or page.

    the plugin developer gave me the code to insert in the single.php file or your child theme.
    but I don’t know here to insert it.

    please help.

    <?php // outputs a flags list (with languages names) ?>
    <ul><?php pll_the_languages(array('show_flags'=>1,'show_names'=>1)); ?></ul>
  • #10057

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!