Hi everyone,
On the front-page of my website, I have set up a feed, including the default language (English) as described in the documentary.
(http://polylang.wordpress.com/documentation/documentation-for-developers/tips-and-tricks/how-to-display-the-default-language-post-if-the-translation-does-not-exists/)
It works perfectly fine there, showing all my feeds and showing the english posts were translations are missing. Now I wanted to be able to show a single category using the same code.
That category is a gallery and since it doesn't need translations, I wanted to show the english post, without leaving the languge version you are on. It works fine in english, all other languages claim not to have found posts.
<?php // force querying the English posts
global $wp_query;
query_posts(array_merge($wp_query->query,array('post_type' => 'post', 'lang' => 'en'))); ?>
Removing this piece from the category.php, all translations show up, but I can't seem to find a way to show the english posts there, too.
I feel like I am missing something obvious, any help is greatly appreciated!