• Hello,

    I would like put the WP Multilang widget in my header instead of sidebar. For that I must call to the function the_widget() in the header.

    I have added the following code:

    the_widget( ‘WPM_Widget_Language_Switcher’, ‘title=’ );

    But don’t work. Must I call the function with other parameters?

    Thank you.

Viewing 1 replies (of 1 total)
  • For displaying language switcher in any place of a theme, You need to use function

    
    if ( function_exists ( 'wpm_language_switcher' ) ) wpm_language_switcher ();
    

    as it describe in the description of the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Widget WP Mulitilang’ is closed to new replies.