This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

WPML flag in header area

  • Creator
  • #1149

    I am using more language on my site with WPML
    I have got a nice flag code from WPML.
    I would like to place in the header area next to left icons.
    Can you help me where is this area and wich php?
    As you can see I have found an area in the “display.php” but it is not too good.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
  • #1152
    Jason Bobich


    Are you using our WPML Bridge plugin? —

    There’s actually already a feature in there that places the flags next to your social media icons automatically.


    Thanks for your answer.
    I have tried this plugin but there is some bug in it.
    If i am using this plugin i can’t save the “theme option”.
    When i press the “save option” button it always send an error message. 🙁
    And i don’t would like to translate all web strukture.
    So it would be good for me if you show me where can i put my own flag code

    • This reply was modified 9 years, 10 months ago by attika777.
    Jason Bobich

    Please keep in mind that support doesn’t include customizations.

    The function that outputs the social icons is called alyeska_header_addon found in /includes/theme-functions.php and hooked to “themeblvd_header_addon”. Here’s how to edit theme function from your Child theme:

    And here’s how the hook system is setup:

    However, I can say with pretty absolute certainty there is no bug with saving the theme options from the WPML Bridge plugin. You just need to be using the latest version of the theme and the latest version of the plugin. Which version of the theme are you currently using?

    Note: Keep in mind if you’ve been making edits directly to theme files and not properly from a Child theme, you’re going to have trouble ever updating your theme, which will obviously lead to many problems in the long run. Never make edits directly to the Parent theme, no matter what.


    Hi Jason,
    Thank you for your great help.
    Best regards, Attila

Viewing 4 replies - 1 through 4 (of 4 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.