[WordPress] 外掛分享: Single Post Template

前言介紹

  • 這款 WordPress 外掛「Single Post Template」是 2009-06-25 上架。
  • 目前有 5000 個安裝啟用數。
  • 上一次更新是 2013-04-19,距離現在已有 4397 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
  • 有 14 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

nathanrice |

外掛標籤

single posts | Post Templates | single post templates |

內容簡介

單篇文章樣板外掛可讓您的佈景主題添加「文章樣板」,就像添加「頁面樣板」一樣,讓您能夠選擇(透過簡單的下拉式選單)每篇文章使用哪個文章樣板。

安裝並啟用此外掛後,您只需要在佈景主題資料夾中建立一個或多個「文章樣板」,並在建立或編輯一篇文章時,選擇您想要使用的文章樣板。如果沒有選擇文章樣板,將使用預設樣板。

1.2

小更新

1.3

複製了 WordPress 的 get_page_templates() 函數方法
新增了 2.9 版本相容性
確保了 2.8 的向後相容性

1.4

相容性與 WordPress 3.6
建立了一個類別,以便更好地命名空間,並避免與 Genesis 發生衝突

1.4.1

修正後台錯誤

1.4.2

修正錯誤,感到遺憾

1.4.3

修正另一個錯誤,厭惡自己

1.4.4

修正預設樣板未加載的問題

原文外掛簡介

The Single Post Template plugin adds the ability for your theme to include “Post Templates” in much the same way you can add “Page Templates”, allowing you to choose (via a simple dropdown) which post template you want to use, on a per-post basis.
All you need to do, after installing and activating the plugin, is create one or more “Post Templates” in your theme’s folder, and when creating or editing a post, choose the post template that you would like to use. If no post template is selected, the default template will be used.
1.2

Minor update

1.3

Copied methodology of WordPress get_page_templates() function
Added 2.9 compatibility
Ensured 2.8 backward compatibility

1.4

Compatibility with up to WordPress 3.6
Build a class for better namespacing and to avoid conflicts with Genesis

1.4.1

Fix admin bug

1.4.2

Fix bugs, feel sorry for myself

1.4.3

Fix another bug, loathe myself

1.4.4

Fix issue with default template not loading

各版本下載點

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

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


1.0 | 1.1 | 1.3 | 1.4 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.4 | trunk |

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

  • Post Layouts for Gutenberg 》Post Layouts for Gutenberg是一個Gutenberg附加元件,提供了一堆額外的文章佈局樣式。其中包括了獨特的簡報模板,是一個獨立的Gutenberg解決方案,可為您的...。
  • Hide Header on Posts for Landing Pages 》, , 輕鬆將文章轉換為落地頁面, , , 在單篇文章頁面上隱藏標題, , , 在查看文章時移除標誌、菜單和整個頁面頂部, , , 無需代碼。只需在創建文章時啟用該選項...。

文章
Filter
Apply Filters
Mastodon