這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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〉的開發相關工作。

參與者

將〈Custom Page Templates Setup〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

v1.0 (2016-05-09)

  • Initial plugin.

v1.1 (2016-05-19)

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