Okay
  Public Ticket #1555705
support
Closed

Comments

  • Karim started the conversation

    i need to add a language bar near the icons of social media up how i can do it

  •  2,010
    Ocean replied

    Hello,

    Please let me know, which multi-languages plugin would you like to use?

    WPML: https://wpml.org/purchase/

    If using this plugin, please add shortcode in Archi Options -> Topbar Header Settings -> Multi-Languages: http://prntscr.com/jancna

    Find shortcode here: https://wpml.org/documentation/support/wpml-coding-api/shortcodes/

    Polylang: https://wordpress.org/plugins/polylang/

    If using this plugin, please open header.php file and add shortcode here: http://prntscr.com/janc0n

    <!-- Polylang plugin: Show multi-languages flags -->
                                        <?php 
                                            if (class_exists('PLL_Frontend')){
                                                pll_the_languages( array( 'show_flags' => 1,'show_names' => 0 ) );                                            
                                            }
                                        ?>

    Thank you

  • Karim replied

    ok please advice the best to put and if u can help me to put it cause im newbie

  •  2,010
    Ocean replied

    Please using the Polylang plugin for your website:

    Polylang: https://wordpress.org/plugins/polylang/

    If using this plugin, please open header.php file and add shortcode here: http://prntscr.com/janc0n

    <!-- Polylang plugin: Show multi-languages flags -->                                     <?php                                          if (class_exists('PLL_Frontend')){                                             pll_the_languages( array( 'show_flags' => 1,'show_names' => 0 ) );                                                                                     }                                     ?>

    Thanks