這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Custom Post Type Page Template

外掛說明

The Custom Post Type Page Template plugin enables custom post types directly to add page templates of the page type.

It is unavailable to use page templates of the page type in other post types by default. Most of themes have original page templates of the page type as part of themes. Twenty Eleven also has two page templates. It is convenient directly to use page templates in custom post types except the page type, isn’t it?

The Custom Post Type Page Template plugin makes it possible to do.

Are you interested in other plugins? See the following site CMS x WP.

Uninstall

  1. Deactivate the plugin
  2. That’s it! 🙂

螢幕擷圖

  • Custom Post Type Page Template - Settings
  • Custom Post Type Page Template - Page Template Box

安裝方式

  1. Copy the custom-post-type-page-template directory into your wp-content/plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit the options in Settings > Custom Post Type Page Template
  4. Check the custom post types which you would like to use page templates
  5. Check the Enforcement Mode depending on themes
  6. That’s it! 🙂

常見問題集

Nothing.

Installation Instructions
  1. Copy the custom-post-type-page-template directory into your wp-content/plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit the options in Settings > Custom Post Type Page Template
  4. Check the custom post types which you would like to use page templates
  5. Check the Enforcement Mode depending on themes
  6. That’s it! 🙂

使用者評論

2017 年 2 月 20 日
The developer of my theme sent me to this plugin because he hasn't features that would allow me to choose a template for custom post types. I was skeptical this plugin would work, but it does. Very happy with it
2017 年 1 月 10 日
This plugin works great as intended. Using this with Custom Post Type created with Types plugin from Toolset (Wp-Types) and X Theme. I was banging my head trying to find easy way to assign existing X Theme template to the new custom post type. This one solved it. Many thanks! Maybe just mention in the documentation that this has to be activated for a specific post type under Settings Menu.
閱讀全部 21 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Custom Post Type Page Template〉的開發相關工作。

參與者

將〈Custom Post Type Page Template〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1

  • Support of the new way over WordPress 4.7.

1.0.1

  • Code cleaning.

1.0

  • Initial release.