[WordPress] 外掛分享: Posts Page: Use Page Template

首頁外掛目錄 › Posts Page: Use Page Template
30+
安裝啟用
★★★☆☆
3/5 分(4 則評價)
4758 天前
最後更新
問題解決
WordPress 3.5+ v1.0 上架:2013-03-07

內容簡介

當在 WordPress 的「閱讀」設定中將「文章頁面」設定為自訂頁面時,預設會忽略該頁面所設定的模板。

「文章頁面 - 在下拉選單中選擇要包含文章的頁面的名稱...任何指定的頁面模板都將被忽略,而主題的 index.php(或 home.php 如果存在)將控制文章的顯示。」

參考資料:https://codex.wordpress.org/Settings_Reading_SubPanel

此外掛解決了上述問題,允許 WordPress 使用針對該特定頁面所設定的自訂模板。

任意區段
簡短的 Markdown 範例

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Posts Page: Use Page Template」→ 直接安裝(推薦)

原文外掛簡介

When setting the ‘Posts Page:’ to a custom page within the ‘Reading’ settings of WordPress, it will by default, ignore that page’s set template.
“Posts page – Select in the drop-down box the name of the Page that will now contain your Posts… any Template assigned the Page will be ignored and the theme’s index.php (or home.php if it exists) will control the display of the posts.”
Reference: https://codex.wordpress.org/Settings_Reading_SubPanel
Plugin resolves the above issue, allowing WordPress to use the custom template set for that specific page.
Arbitrary section
A brief Markdown Example

延伸相關外掛

文章
Filter
Mastodon