Qtranslate and Search Results


If you’re using QTranslate within your WordPressinstallation the plugin normaly doesn’t remember the language you’re using if you’re searching something.

You can solve the problem like that:

Put the following into your searchform.php:

<input type="hidden" name="lang" value="<?php echo qtrans_getLanguage(); ?>">

So the parameters will be remembered. 🙂

Advertisements