[WordPress] 外掛分享: Template for Custom Post Types

前言介紹

  • 這款 WordPress 外掛「Template for Custom Post Types」是 2016-01-29 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 700 個安裝啟用數。
  • 上一次更新是 2016-09-25,距離現在已有 3143 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

gandhirk |

外掛標籤

post-template | custom template | custom template for post | custom post type template | templates for custom post types |

內容簡介

這個外掛能夠讓你像頁面一樣,將頁面模板指定給任何自訂文章類型或文章。此模板將用於在前端顯示單篇文章。

你可以像 WordPress 頁面一樣創建相同的頁面模板。你需要從外掛的設置頁面中選擇要應用模板的文章類型。

要創建模板文件,你需要在當前佈景主題的目錄中創建 .php 檔案,並在檔案的第一行註解中添加模板名稱:your template name。例如:

你也可以在當前佈景主題資料夾的子目錄中創建模板檔案。現在 WordPress 4.7 已經在核心中引入了這個功能。

原文外掛簡介

This plugin will allow you to assign page template to any custom post type or posts same as Page. The template will be used to display single post in front end.
You can create template same as page template for wordpress pages. You need to select post types where you want to apply template from settings page of this plugin from admin side.
To create template file you need to create .php file in current theme’s directory with Template Name: your template name in comment at first line of your file. Ex.
You can create template files in subdirectory of current theme folder also. Now WordPress 4.7 has introduced this functionality in core.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Template for Custom Post Types」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Custom Post Template 》此外掛可讓您在 WordPress 自訂文章類型中新增自訂文章模板,並可在自訂文章類型的單一頁面中輕鬆套用自訂文章模板,類似於頁面模板的方式。, 模板的定義方式...。
  • Simple Content Templates for Blog Posts & Pages 》這個外掛讓您可以輕鬆地為您的貼文和頁面創建內容模板。在創建新的貼文或頁面時,使用您的其中一個內容模板作為起點。Simple Content Templates 可以讓您定義...。
  • Template List Metabox 》這個外掛可以讓你選擇自訂文章類型並顯示模板清單的下拉式選單。, 在前端,這個外掛可以幫助你顯示文章所選擇的模板。, 現在,你可以像頁面一樣每個文章都選...。
  • Post Custom Templates Lite 》Post Custom Templates (貼文自訂範本) 可以輕鬆地創建。您不再需要處理代碼、檔案或為開發者支付費用,且支援任何佈景主題!, 自己動手在 1 分鐘內節省時間...。
  • Post Template 》WordPress 允許用戶自定義網頁模板,但卻不允許這麼做於博客文章。來自 IndiaNIC 的 Post Template 外掛可讓您也可以使用自定義的頁面模板於博客文章。, 安裝...。
  • AMS Single Post Template Selector 》這款外掛讓你能夠為每篇文章選擇不同的版型,以供單獨的文章檢視,只需在文章編輯畫面的下拉式清單中選取事先建立好的文章版型即可。, 這個外掛程式會以所選...。
  • Cpt custom page template 》將模板選項新增至 WordPress 自訂文章類型, Cpt custom page template 的主要功能包括:, , 將模板選項新增至 WordPress 自訂文章類型, , 任意部分, Markdown...。
  • WP Custom Post Template Redux 》, , 此外掛可以讓您在 WordPress 的自訂文章類型中加入自訂文章範本。您可以像套用頁面範本一樣,輕鬆地在自訂文章類型文章中套用自訂文章範本。, , , 這些範...。
  • What Singular Template 》這個有用的工具可以在管理員文章列表中顯示已分配給文章、頁面或公開自訂文章類型的主題模板名稱。。
  • Stencies 》Stencies 可以讓你插入來自 Stencies.com 預先格式化和樣式化的文字、圖片、CSS、模板、HTML、文章結構等內容。, 你可以自己創建 Stencies,或者插入其他用戶...。

文章
Filter
Apply Filters
Mastodon