Title: Set flag
Last modified: November 22, 2017

---

# Set flag

 *  [dimitrispil9](https://wordpress.org/support/users/dimitrispil9/)
 * (@dimitrispil9)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/set-flag/)
 * Hello,
 * Can anyone help me how i can set default Greek language and how i can put the
   flag at the top of my website so i can switch the languages when i want??
 * I am running 4.8.3

Viewing 1 replies (of 1 total)

 *  [alvima](https://wordpress.org/support/users/alvima/)
 * (@alvima)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/set-flag/#post-9751218)
 * You can put the widget of qtranslate in a header area from: > Appeareance > Widgets.
   If you haven’t any sidebar in your header to put widget, you can make with code.
   Add the widget function in the header:
 * the_widget( ‘qTranslateXWidget’, ‘title=’ );
 * And modify the default parameters if you want flags and no want the dropdown.
   Add a filter in the functions.php archive of theme:
 * add_filter( ‘qtranslate_type’, ‘theme_function’ );
    function theme_function( 
   $type ) { $type = ‘both’; return $type; }

Viewing 1 replies (of 1 total)

The topic ‘Set flag’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate-x_f9f9f9.svg)
 * [qTranslate X](https://wordpress.org/plugins/qtranslate-x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate-x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate-x/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate-x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate-x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate-x/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [alvima](https://wordpress.org/support/users/alvima/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/set-flag/#post-9751218)
 * Status: not resolved