开发者

qtranslate plugin and ajax requests

I'm trying to obtain the correct content for each language (I'm using qtranslate plugin in Wordpress environment) loaded by Ajax calls.

Every time, contents are shown up only in the default language.

I'm thinking about to pass the default-language-qtranslate variable into the ajax calls but I don't know how.

Maybe someone out here has already solved this is开发者_如何学编程sue..?

Thanks guys


This will help you to fix the default language request in Mailpress, or any other plugin.

Search in code for link request "ajax.php". Replace "ajax.php" with ajax.php/?lang='.qtrans_getLanguage()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜