Auto Template with multiple languages for Custom Post Type
-
Hi,
I have created a website making heavy use of Pods custom post types, which are awesome! I started the website in German and have added an english version using Polylang.
With Polylang, I have activated Templates for translation, not the custom post type (their data remains the same). I have the auto template option set for the custom post types and access single posts from a list of posts using {permalink}.I have two language versions for the template but I always only get the German version when I open the post on the English page.
The two language versions refer to each other as translations.I tried the following:
– Same name for English and German templates –> select this name in the auto template options => I see the German version
– Different names for English an German templates –> select the name of the German version in the auto template options => I see the German version
– Different names for English an German templates –> select the name of the Enlish version in the auto template options => I see the German versionI am currently using a workaround, accessing a page which displays one post, selected by its ID. Disadvantage: I can’t switch languages on the page and on social media, I don’t get the title and picture of the post but of the page.
What else could I try?
Thanks in advance
AndreasThe page I need help with: [log in to see the link]
The topic ‘Auto Template with multiple languages for Custom Post Type’ is closed to new replies.