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
    Topic
  • #1149
    attika777
    Member

    Hi,
    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.

    http://deflormed.hu/wp2/wp-content/uploads/Screenshot%20-%202012.12.05.jpg

    Thanks

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

    Hello,

    Are you using our WPML Bridge plugin? — http://wordpress.org/extend/plugins/theme-blvd-wpml-bridge/

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

    http://wpml.themeblvd.com/documentation/frontend-integration/

    #1154
    attika777
    Member

    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 7 years, 9 months ago by attika777.
    #1157
    Jason Bobich
    Keymaster

    Please keep in mind that support doesn’t include customizations. http://support.themeblvd.com/help/#terms

    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:

    http://dev.themeblvd.com/tutorial/editing-framework-functions/

    And here’s how the hook system is setup:

    http://dev.themeblvd.com/tutorial/primary-framework-action-hooks/

    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.

    #1167
    attika777
    Member

    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.