Hello, since i don’t want to use WPML – can you please tell me, where to add the php code of the qtranslate plugin in the header?
It looks like this: <?php echo do_shortcode(‘[gtranslate]’); ?>
I already tried to place it in the header.php where it says “hook for plugins such als WPML style switcher).
Asking for a fast fix please. !!!
The brief documentation of the plugin is here: http://gtranslate.net/docs/56-wordpress-documentation
That hook is actually used to dynamically pull in plugin code and things like that. Since you are manually adding it in, you will do so exactly where you want it.
If you want to put it above or near the search form, you are looking for:
In the header.php. It still may require some css to position it correctly within the headers elements.
The topic ‘Translate choices with qtranslate php snippet’ is closed to new replies.