Title: Auto Load Page Template
Author: Masahiro NAKASHIMA
Published: <strong>2015 年 10 月 8 日</strong>
Last modified: 2022 年 2 月 15 日

---

搜索插件

![](https://ps.w.org/auto-load-page-template/assets/banner-772x250.png?rev=1261364)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/auto-load-page-template/assets/icon-128x128.png?rev=1261366)

# Auto Load Page Template

 作者：[Masahiro NAKASHIMA](https://profiles.wordpress.org/kanakogi/)

[下载](https://downloads.wordpress.org/plugin/auto-load-page-template.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/auto-load-page-template/#description)
 * [评价](https://cn.wordpress.org/plugins/auto-load-page-template/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/auto-load-page-template/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/auto-load-page-template/#developers)

 [支持](https://wordpress.org/support/plugin/auto-load-page-template/)

## 描述

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.

## 安装

 1. Upload the entire `auto-load-page-template` folder to the `/wp-content/plugins/`
    directory.
 2. 通过 WordPress 的“插件”菜单以激活本插件。

## 评价

此插件暂无评价。

## 贡献者及开发者

「Auto Load Page Template」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Masahiro NAKASHIMA ](https://profiles.wordpress.org/kanakogi/)

[帮助将「Auto Load Page Template」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/auto-load-page-template)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/auto-load-page-template/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/auto-load-page-template/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/auto-load-page-template/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/auto-load-page-template/)。

## 更新日志

**1.2.0 – 14 May 2018**
 Fix bug.

**1.1.0 – 6 Feb 2016**
 New Feature. Can save a target html to content. ex) $auto_load_page_template-
>push_post(‘.content’);

**1.0.0 – 3 October 2015**
 Initial release.

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**4 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **5.9.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/auto-load-page-template/)
 * 标签
 * [page](https://cn.wordpress.org/plugins/tags/page/)[pages](https://cn.wordpress.org/plugins/tags/pages/)
   [theme](https://cn.wordpress.org/plugins/tags/theme/)[themes](https://cn.wordpress.org/plugins/tags/themes/)
 *  [高级视图](https://cn.wordpress.org/plugins/auto-load-page-template/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/auto-load-page-template/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/auto-load-page-template/reviews/)

## 贡献者

 *   [ Masahiro NAKASHIMA ](https://profiles.wordpress.org/kanakogi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/auto-load-page-template/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.amazon.co.jp/registry/wishlist/2TUGZOYJW8T4T/?_encoding=UTF8&camp=247&creative=7399&linkCode=ur2&tag=wpccc-22)