I would like to show specific pages on another page in two or more languages, while the menu and everything is translated in the language chosen.
The code below does the job for the_content. How would I pull the_field from the database, but only in a specific language (e.g. ‘fr’) and echo it on an English page?
<?php
$id=5; $post = get_page($id);
$content = qtrans_use('fr', $post->post_content,false);
echo $content;
Thanks for your help! Alan
Hi @asr77,
Thanks for the post.
For ACF content to be queried and be visible in qtranslate, I believe you will need the following add on: https://wordpress.org/plugins/acf-qtranslate/
I hope this helps.