Before you ask please READ THIS

Placing language selector flag navigation next to the social icons

Hi I have installed chalet and its working great with your help on a few issues.

I've now used WPML for translating the site into other languages. WpML gives me the option to place their navigaion in the main menu, but as the menu centres around the logo in the centre it looks un balanced. They have given me a snippet of php code which I must paste in to the right area for their menu to appear.

It is:

<?php do_action('wpml_add_language_selector'); ?>

I would like this to appear next to the social icons in the top right hand corner. How would I make this happen?

As always, thanks for your advice in advance.

Comments

  • Posts: 1,758
    Hi,
    go to file: ..\wp-content\themes\chillout\menu_bar.php
    and find this code:
    
    <?php 
                if($display_social){
                    echo a13_social_icons();
                }
    ?>
    
    the snippet You got from WPML team should be placed before or after this piece of code - it's up to You if You want to have language selector before social icons or after.
    Remember to rate our theme if you like it ;)
    All the Best.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion