Trying to get the content manually and it's not translating
-
$pargs = array( 'post_type' => 'page', ); $pquery = new WP_Query( $pargs ); $page = $pquery->get_posts(); $page = $page[0]; $pagecontent = $page->post_content;
This code is not bringing the page content translated, it just gets the default language instead.
How do I fix it?
(I have the stella full version)
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Trying to get the content manually and it's not translating’ is closed to new replies.