• I have installed and running WPML translations plugin.

    However I have encountered a problem, because I have one custom query in my homepage. I am querying my homepage with:

    ?php $id=501; $post = get_page($id); $content = apply_filters(‘the_content’, $post->post_content); echo $content; ?>

    So when swith language, I again get default language and the content is not changed.

    Any ideas on how to make query to work when I change language?

    Thanks in advance

  • The topic ‘WPML query page with language options included’ is closed to new replies.