外掛說明
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.
安裝方式
- Upload the entire
multilingual-template-hierarchy
folder to the/wp-content/plugins/
directory. - Activate the plugin through the \’Plugins\’ menu in WordPress.
參與者及開發者
變更記錄
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