Set custom post default language.
I created a custom post with pods and I have WPML plugin installed.
I want to show this custom post only in a language which is not the default one of the website so that the urls will be http://example.com/en/postname instead of http://example.com/postname.
For this I would like when i create a new post of these custom posts that their default language should be english and not the default language of the website.
Otherwise I have every time to change the default language of the post for each post.
How can i set another default language for the custom post than the one of the website?
Leave a Reply
You must be logged in to post a comment.
Add the following action to functions.php, and I hope Problem will be Solved: