language switcher

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

Status: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 5 y, 11 mo by  Jacob.
Viewing 1 reply thread
  • Author
    Posts
    • #10024

      oscarooh
      Member

      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

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

      Login | Register | Forgot Password?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.

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

© Copyright 2021 by wpthms.com. All Rights Reserved.