• I have a wordpress page with content added to English and Spanish.
    Now if i try to get the page content through get_page($pageId) and print the post_content, it is showing the contents of both the language. I only want to get the content of the language which is being selected right now.
    Can some one help ?

    By the way, the plugin is great.

    https://ww.wp.xz.cn/plugins/mqtranslate/

Viewing 1 replies (of 1 total)
  • Plugin Author chsxf

    (@chsxf)

    Use the built-in function the_content() to display the page/post content. It will be automatically filtered by mqTranslate.

Viewing 1 replies (of 1 total)

The topic ‘Getting page content dynamically.’ is closed to new replies.