[WordPress] 外掛分享: Auto Load Page Template

首頁外掛目錄 › Auto Load Page Template
WordPress 外掛 Auto Load Page Template 的封面圖片
20+
安裝啟用
尚無評分
1492 天前
最後更新
問題解決
WordPress 3.0+ v2.0.1 上架:2015-10-07

內容簡介

如果啟用了此外掛,且在靜態網頁 URL 路徑與佈景主題的相同層級上有一個檔案,該佈景主題檔案將自動作為樣板檔載入。

例如:
對於靜態網頁 URL:“http://example.com/foo/bar/”
佈景主題目錄:“/wp-content/themes/mytheme/foo/bar/index.php”
如果存在,將作為樣板檔載入。

*如果啟用的佈景主題之間存在父子關係,則子佈景主題的檔案將具優先順序被載入。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.1) 或搜尋安裝

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

原文外掛簡介

If this plug-in is enabled, and there is a file on the same theme level as the static page URL level, then that theme file will automatically be loaded as the template file.
Example
For the static page URL: “http://example.com/foo/bar/”
Theme directory: “/wp-content/themes/mytheme/foo/bar/index.php”
will be loaded as the template file if it exists.
*If enabled themes have a parent-child relationship, then the file for the child theme will be loaded with precedence.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon