Multilingual Template Hierarchy
v1.0.1bartdag-resulto · 2015年10月1日 上架
Enables theme developers using WPML to create type-slug.php templates in the default language. For example, if you create page-my-english-slug.
- 正在使用
- 20+
- 评分
- 5.0 / 5
- 累计下载
- 2,119
- 最近更新
- 2016年1月20日
1 条评价需要 WordPress 4+已测试到 4.4.34
贡献者
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.