Multilingual Template Hierarchy
Multilingual Template Hierarchy
Description
Enables theme developers using WPML to create type-slug.php templates in the default language.
Currently, with WPML, if you want to create a custom template for a page/category/post, you need to create such template in each language (e.g., page-english-slug.php, page-french-slug.php). With this plugin, you can create the template only for the default language (e.g., page-english-slug.php) and it will be used for all other languages.
Version 1.0.0 supports translated page, category and tag slugs.
Installation
- Upload the entire
multilingual-template-hierarchyfolder to the/wp-content/plugins/directory. - Activate the plugin through the \’Plugins\’ menu in WordPress.
Reviews
Saved me a massive headache!
By Matt Watson (mwtsn) on September 3, 2016
Great Plugin! Saved me hours of manually routing templates!
Changelog
1.0.1
- release date: January 20th 2016
- global $post is no longer overriden (does not play well with other plugins).
1.0.0
- release date: October 1st 2015
- Initial release