[WordPress] 外掛分享: AMS Single Post Template Selector

首頁外掛目錄 › AMS Single Post Template Selector
80+
安裝啟用
尚無評分
1516 天前
最後更新
問題解決
WordPress 3.1+ v1.2 上架:2016-09-04

內容簡介

這款外掛讓你能夠為每篇文章選擇不同的版型,以供單獨的文章檢視,只需在文章編輯畫面的下拉式清單中選取事先建立好的文章版型即可。

這個外掛程式會以所選定的版型替換掉預設的版型(single.php),使你的文章套用新的版型。

要建立一個文章版型,只需在檔案最上方寫入 PHP 開始的註解,註明該版型的名稱即可。

<?php
/*
文章版型 - 名稱: 版型名稱
*/
?>

請注意:使用文章版型名稱時,請輸入「文章版型 - 名稱:」。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「AMS Single Post Template Selector」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin allows you to choose different template for individual post, for the purpose of single post view, by selecting previously created post template from the provided drop-down list in the post edit screen.
The plugin will replace the default template (single.php) with selected template for the post you applied the new template.
To create a post template, write an opening PHP comment at the top of the file that states the template’s name.

Please Note: Post template name ussage: “Post Template – Name:”.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon