@bigmacontrack: The function you’re looking for is qtrans_generateLanguageSelectCode($type), where $type can have any of these values: image|text|both|dropdown. “both” means flag+text. Depending on $type, this will either generate an unordered list with the flags or a dropdown (options/select).
Now all you need to do is place this into your pages, where you want it, using a WP or theme hook. You can use any hook you want, just make sure it is called in your theme on the pages you want the language chooser displayed. For example, if you want the selector to be the first thing rendered to your page, you can use get_header as your action hook, adding this code to your functions.php (preferably in your child theme):
add_action('get_header', 'add_my_language_chooser');
function add_my_language_chooser() {
if (function_exists('qtrans_generateLanguageSelectCode')) qtrans_generateLanguageSelectCode('both');
}
As you might notice, this only outputs the selector if qtranslate is present and activated (so the function exists). If it doesn’t, nothing happens.
So the above code will output something similar to:
<ul class="qtrans_language_chooser" id="qtranslate-chooser">
<li class="active">
<a href="https://test.websiter.ro/blog/" class="qtrans_flag_ro qtrans_flag_and_text" title="Roman?"><span>Roman?</span></a></li>
<li>
<a href="https://test.websiter.ro/blog/?lang=en" class="qtrans_flag_en qtrans_flag_and_text" title="English"><span>English</span></a></li>
</ul>
, depending on the languages you have installed. Feel free to use the classes and ids from that code to style up the look of your language chooser. For example, if you want to hide the active language from the selector, use
#qtranslate-chooser .active {display: none;}
Good luck.