badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Add Language switcher to the header (right lower corner)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5712
    pixelandmore
    Participant

    Dear Support Team,
    Thanks for this great theme I just purchased! I’m currently building a website with multiple languages. For this purpose I use WPML plugin. As I wouldn’t like to have a sidebar I want to insert the language switcher into the header(right lower corner). WPML Plugin suggests to insert the following code: <?php do_action(‘icl_language_selector’); ?> Where do I need to insert this code?

    Any idea?

    Thanks for your help!

    #5722
    Sanjip Shah
    Participant

    @pixelandmore Go to this file Theme folder->library folder->structure folder->header-extensions.php file. Look for the attitude_headerdetails function and place your code inside it in appropriate place. Also, make a child theme to make this changes so that you don’t lose the changes when you update the parent theme.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.