Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #692566

    Hi,

    I am using the Polylang plugin and would like to add flags next to the social icons I have in the top left bar. Is it possible to ad a widget to do this?

    http://reservoir.no/no/startsiden/

    Thanks Elise:)

    #692605

    Hey Elise!

    If you want to add flag icons and then link your site URL to it please create a header widget refer to this link

    Best regards,
    Basilis

    #692656

    Hi – I already tried this but it ends up in the header area not in the meta area next to the social icons where I want the flag, please view here: http://reservoir.no/no/startsiden/

    Using the following css:

    #header .widget {

    left: 10%;
    padding-top: 6px;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    z-index: 999;

    }

    What am I doing wrong?

    #692659

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Yigit

    #692668

    I also tried to add the code:

      <?php pll_the_languages(‘show_flags’);?>

    Into the HEADER > EXTRA ELEMENTS > HEADER SECONDARY MENU > “Phone Number or small info text- AREA”

    Documentation:
    The language switcher

    Se login info below:)

    Thanks

    #692674

    Hi!

    Login credentials are not working for me. Can you please check them once again?

    Regards,
    Yigit

    #692677

    Sorry it was .no not .com:)

    #692680

    Hey!

    I added following code to Quick CSS

    #header_meta .container > li.lang-item {
        display: none;
    }

    following code to functions.php file in Appearance > Editor

    function avia_polylang_flags(){
    	$output = pll_the_languages('show_names');
    	return $output;
    }
    add_shortcode( 'av_flags', 'avia_polylang_flags' );

    and following shortcode into phone info field in Enfold theme options > Header > Extra Elements

    [av_flags]

    Please review your website now
    Best regards,
    Yigit

    #692754

    Great fantastic – so how do I see a flag instead of language name on site (hiding the current languag flag)?

    Best Elise

    • This reply was modified 8 years, 2 months ago by fetetyper.
    #692761

    Hi Elise!

    Can you please contact plugin authors regarding that?
    Code is added using following

    pll_the_languages('show_flags');

    So it should display the flags in fact.

    Regards,
    Yigit

    #692763

    Sorry – absolutely:)

    Thank you so much – works like a charm!

    Great support:)

    Elise

    #692767

    Hi!

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Cheers!
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Adding a widget to the top bar’ is closed to new replies.