Support
Support » Plugin: Qtranslate Slug » Language menu in uppercase
(@esseespinach)
8 years, 4 months ago
Hello!, I had a website with the language menu in uppercase like this: ES | CA | EN.
I have upgraded qtranslate slug version, and now language menu appears in lowercase and without separators.
The language menu is located in header as follows:
<div id="qtranslate-text"> <?php if (function_exists('qts_language_menu') ) qts_language_menu('text', array('short' => true)); ?> </div>
Until now, when updating the qTranslate slug, I changed in qtranslate-slug.php: This
} else { $link_class = ''; $link_content = $language_name; }
For this
} else { $link_class = ''; //$link_content = $language_name; $link_content = strtoupper($lang); if ( $index != (count($languages) - 1) ) $link_content .= " |"; }
But now I can’t find it in qtranslate-slug.php.
Can you help me, please?
The web I am working with is: http://www.integraorg.com.
Thank you very much!
https://wordpress.org/plugins/qtranslate-slug/
(@pedroghandi)
Hi esseespinach
without having to change the code you can just paste this in your stylesheet:
.qts_lang_item { text-transform: uppercase; }
as for the separator its on
/includes/class-qtranslate-slug.php
Line 2655
8 years, 3 months ago
It works. Thank you very much! Esther