Support for a default language in PolyLang
-
Hi there, this is a great plugin, thanks!
I am, however, having some difficulty making it work with a default language in PolyLang, i.e. to show posts in the default language if posts in the preferred language are not available.
There’s some guidance on making the loop work with PolyLang here:
https://ww.wp.xz.cn/support/topic/plugin-polylang-showing-default-language-post-if-no-translation-is-available?replies=1#post-2710084but this doesn’t integrate with $flexible_posts, for example, it’s not possible to call query_posts(array_merge($flexible_posts->query, array(‘post_type’ => ‘post’, ‘lang’ => ‘en’)));
Any advice?
The topic ‘Support for a default language in PolyLang’ is closed to new replies.