內容簡介
單篇文章樣板外掛可讓您的佈景主題添加「文章樣板」,就像添加「頁面樣板」一樣,讓您能夠選擇(透過簡單的下拉式選單)每篇文章使用哪個文章樣板。
安裝並啟用此外掛後,您只需要在佈景主題資料夾中建立一個或多個「文章樣板」,並在建立或編輯一篇文章時,選擇您想要使用的文章樣板。如果沒有選擇文章樣板,將使用預設樣板。
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
