
Auto Load Page Template
v2.0.1Masahiro NAKASHIMA · 2015年10月8日 上架
If this plug-in is enabled, and there is a file on the same theme level as the static page URL level, then that theme file will automatically be loade …
- 正在使用
- 30+
- 评分
- 暂无
- 累计下载
- 4,765
- 最近更新
- 2022年2月16日
需要 WordPress 3.0+已测试到 5.9.0
If this plug-in is enabled, and there is a file on the same theme level as the static page URL level, then that theme file will automatically be loaded as the template file.
Example
For the static page URL: “http://example.com/foo/bar/”
Theme directory: “/wp-content/themes/mytheme/foo/bar/index.php”
will be loaded as the template file if it exists.
*If enabled themes have a parent-child relationship, then the file for the child theme will be loaded with precedence.