我有一个单页可滚动的网站,wordpress为CMS . 该网站有三种语言,我在wordpress中使用qtranslate插件 .
我是wordpress的新手,我的问题是我不确定如何将帖子链接到适当的语言页面 . 我的英语工作正常 .
这是我链接英文版内容的方式:
<?php $test = new WP_Query('category_name=welcome&showposts=1');
while ($test->have_posts()) : $test->the_post(); ?>
<?php the_content();?>
<?php endwhile;?>
任何帮助..或替代选项表示赞赏 . 提前致谢 .