Multilingual Template Hierarchy

Plugin Banner

Multilingual Template Hierarchy

by bartdag-resulto

Download
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.

  1. Upload the entire multilingual-template-hierarchy folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.

Saved me a massive headache!

By Matt Watson (mwtsn) on September 3, 2016

Great Plugin! Saved me hours of manually routing templates!

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
Back to top