Hello,
in WPML Plugin you can change the layout of the language menu.
You can do a dropdown, or a horizontal/vertical list. with/without flag, with/without language name.
But in your theme there is only a dropdown list, actually on my site it shows [Flag + Language Name].
But I have just two languages and just need two flags side by side. Just simple.
So I found in your file sf-header.php this code
/includes/swift-framework/sf-content-display/sf-header.php
line 541
if ($show_translation) {
$aux_links_output .= '<li class="parent aux-languages"><a href="#">'. __("Language", "swiftframework") .'</a>'. "\n";
$aux_links_output .= '<ul id="header-languages" class="sub-menu">'. "\n";
if (function_exists( 'language_flags' )) {
$aux_links_output .= language_flags();
}
$aux_links_output .= '</ul>'. "\n";
$aux_links_output .= '</li>'. "\n";
}
And this is the php shortcode of the original WPML Plugin:
<?php do_action(‘wpml_add_language_selector’); ?>
How can I fix it? I want the original WPML plugin language menu.
This code below works, but the menu is shown on the left side of the header:
if ($show_translation) {
$aux_links_output .= do_action('wpml_add_language_selector');
}
Best regards!