Reputation: 631
I want to create website In Kurdish and Arabic Language on one domain, The Kurdish language is the default. But I want to Kurdish content different to the Arabic content. Means, I Don't want translate From Kurdish to Arabic or vise Versa by using WPML Plugin or any other plugins, I want each language has own content
How can I do this? I know that I need two different databases but how I can connect to these databases from one domain.?
Upvotes: 0
Views: 305
Reputation: 256
You will be able to provide different content using Custom Post Types plugin: https://wordpress.org/plugins/custom-post-type-ui/
You could provide different content based on lang
parameter in URL. If person is browsing your website in selected language it will always be appended to the website URL as parameter.
This functionality is already provided by other plugins, WPML as well.
Custom post type could look at this parameter and serve different content. You would need to apply changes in the THEME.
Upvotes: 2