Proper way to get page content

Just to clarify:

You mixed two things here. qTranslate stores the different languages in the same post. If you call get_content(), $post->content or an other direct query, you will get the whole content with all different languages from the database.

What qTranslates do, it creates a filter-hook which is attached to the_content hook. If somebody call the_content() in a page template, all other languages will be filtered out.

So you’re right. To filter the other languages, you have to apply the filter-hook the_content to your output.

Leave a Comment