neutie
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Review Slider] App in development error?Well I just did not see that. Thank you so much.
Forum: Plugins
In reply to: [WPGlobus - Multilingual WordPress] how to make only one flagI would like to know this as well. I tried different things but nothing will work. I’m trying to just show one flag on my site (https://www.storyexperts.eu) but can’t seem to figure it out. I’d like to show the English flag whenever I’m on the Dutch site and vice versa.
Forum: Plugins
In reply to: [WPGlobus - Multilingual WordPress] Showing just one flagDoes anyone have any idea? If one flag isn’t possible, would it at all be possible to at least have the other flag pop up next to my current language when hovering?
Forum: Plugins
In reply to: [WPGlobus - Multilingual WordPress] Showing just one flagI have tried different codes, but it won’t work.
I found this code for example:
if ( class_exists( 'WPGlobus' ) ) { echo '<div class="wpglobus-selector-box">'; foreach( WPGlobus::Config()->enabled_languages as $lang ) { if ( $lang == WPGlobus::Config()->language ) { continue; } $flag = WPGlobus::Config()->flags_url . WPGlobus::Config()->flag[ $lang ]; echo '<a href="' . WPGlobus_Utils::localize_current_url( $lang ). '">'; echo '<img src="' . $flag . '" /> '; echo '</a>'; } echo '</div><!-- .wpglobus-selector-box -->'; }
However, it adds an English flag to the top of my site. The problem I am facing is the following (see image, this is when I hover over the Dutch flag). I’d like to just have the English flag in the footer whenever I’m in Dutch language and vice versa.
https://www.storyexperts.eu/language.png
You can see it when you hover over the language in the footer on the site: https://www.storeyxperts.eu
Hope someone can help. Thanks.