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

WP Custom Post Template

外掛說明

This plugin lets you add the custom post templates in your WordPress custom post type. You can easily apply your custom post template in custom post type single page like page template.

The templates are defined similarly to page templates, and will replace single.php for the specified post.

Admin can select multiple custom post type where they want to apply custom post template.(i.e. you can choose a template which is not single.php).

Easily managed through the admin area.

Admin can use default setting for the custom post type plugin by simply clicking on default setting button.

First note: Page templates use “Template Name:”, whereas custom post templates use “WP Post Template:”.

Second note: You must have the custom post template files in your theme in the same directory/folder as your index.php template file, not in a sub-directory/sub-folder.

Features

  • Select custom post type where you need to show the post template.

  • Select default setting to show post template in your theme default post type.

  • By default post template show in wordpress default post type : ‘post’.

螢幕擷圖

  • screenshot-1.jpg
  • screenshot-2.jpg
  • screenshot-3.jpg
  • screenshot-4.jpg

安裝方式

Install

  1. Login into your WordPress admin panel
  2. Navigate to Plugins => Add New
  3. Click Upload
  4. Click Choose File and select the wp-custom-post-template.zip.
  5. Click Install Now.
  6. Activate the plugin through the ‘Plugins’ menu in WordPress.
  7. Go to Dashboard => WP Post Template and set your general setting.
  8. To create new custom Post Template you need to put the new file in the same directory/folder as your index.php and just need to add comment (WP Post Template: Your New Post Template Name) in your new post template file same as you do for page template.

Uninstall

  1. Deactivate WP Post Template in the ‘Plugins’ menu in WordPress.
  2. After Deactivation a ‘Delete’ link appears below the plugin name, follow the link and confim with ‘Yes, Delete these files’.
  3. This will delete all the plugin files from the server as well as erasing all options the plugin has stored in the database.

常見問題集

Write an email us on : info@dotsquares.com

Installation Instructions

Install

  1. Login into your WordPress admin panel
  2. Navigate to Plugins => Add New
  3. Click Upload
  4. Click Choose File and select the wp-custom-post-template.zip.
  5. Click Install Now.
  6. Activate the plugin through the ‘Plugins’ menu in WordPress.
  7. Go to Dashboard => WP Post Template and set your general setting.
  8. To create new custom Post Template you need to put the new file in the same directory/folder as your index.php and just need to add comment (WP Post Template: Your New Post Template Name) in your new post template file same as you do for page template.

Uninstall

  1. Deactivate WP Post Template in the ‘Plugins’ menu in WordPress.
  2. After Deactivation a ‘Delete’ link appears below the plugin name, follow the link and confim with ‘Yes, Delete these files’.
  3. This will delete all the plugin files from the server as well as erasing all options the plugin has stored in the database.

使用者評論

2018 年 9 月 13 日
If you've ever successfully made a page template in WordPress, you'll be able to do the same thing for posts using this plugin. Excellent.
2016 年 12 月 9 日
I organise my templates in a specific directory and this doesn't work with this plugin, as you require me to have them in the top level theme directory. Second point, you add clutter to the admin menus, by having the plugin's own menu. You should have put this in the settings area, as you only have 2 settings...
閱讀全部 28 則使用者評論

參與者及開發者

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

參與者

將 WP Custom Post Template 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1 – 2015-07-18

  • Updated according to new wp version functions.

1.0

  • A intial version.