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

Custom Page Templates Setup

描述

This plugin offers you the ability to add custom page template files to your WordPress installation without having to manage
theme folders or use a ftp client. Simply upload the custom template file you have been working on and it will be registered
with WordPress as a template option for your pages. This plugin is straight to the point and has a clean user interface using
W3.CSS.

Plugin menu is located under ‘Appearance’ menu.

Attribution: This post online and code on github by wpexplorer:
http://www.wpexplorer.com/wordpress-page-templates-plugin/
https://github.com/wpexplorer/page-templater

屏幕截图

  • A clean user interface to manage user generated custom page templates.
  • New page template options on the 'Edit Page' screen after uploading custom templates.

安装

Install and activate the plugin and then find it’s options page as a submenu under the Appearance menu.

To get started, simply upload a custom page template and it should automatically be registered with WordPress, and thus it will
be an option on the ‘Edit Page’ screen under ‘Page Attributes’->’Template’ as a drop-down option.

Step By Step:

  1. Upload the plugin files to the /wp-content/plugins/custom-page-templates-setup/ directory, or install the plugin directly
    through the WordPress plugin repository (‘Plugins’->’Add New’->’Search Plugins’->’Install Now’).
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to the option page (‘Appearance’->’Custom Page Templates’).
  4. Upload a custom page template php file.
  5. Go to the ‘Edit Page’ screen for desired page.
  6. Change the page template under ‘Page Attributes’->’Template’.

常见问题

Why did you make this plugin?

A friend recommended me to make this functionality into a plugin instead of incorporating it into a larger plugin.

评价

此插件暂无评价。

贡献者及开发者

“Custom Page Templates Setup” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

v1.0 (2016-05-09)

  • Initial plugin.

v1.1 (2016-05-19)

  • Updated code to correct php errors for when plugin is initally activated.