Polylang disable translation for posts
I'm using polylang on my wordpress page. I want to translate the pages, but keep the blog in only one language. I've used this hook: function turn_blogposts_translation_off( $post_types, $is_settings ) { unset( $post_types['post'] ); return $post_types; } add_filter( 'pll_get_post_types', 'turn_blogposts_translation_off', 10, 2 ); which does disable translations for posts, but if I am viewing my page in the second language, no blog posts are shown, since there are none in that language. How can I show English posts (main language) while viewing the site in other languages?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.