I have this piece of code that get a post with the same name of my "item description". I need my post to be translated dynamically with qtranslate but it only gets the WHOLE post content...so in few words I see both english and other language. Anyone with a good solution?
<?php $content_post = get_page_by_path( $item->item_description, OBJECT, 'post' );
if($content_post)
{
$content = $content_post->post_content;
echo $content;
}?>
I'm not goot with php so please try to be "clear" with your answers. Thank you very much!