內容簡介
一個完全空白的自訂頁面模板,可供擴展使用。
“Blank” 包括兩個極簡主義的(當我說極簡主義時,我的意思是這可能不是你正在尋找的)自訂頁面模板,Blank和Creative。
Blank - Blank 真的是完全空白的。它只會輸出您在頁面內容區域中輸入的內容,甚至整個 doctype、html、head、或 body 標籤都沒有默認輸出。
Creative - Creative 就像 Blank 一樣,但預設包括 WordPress、您的佈景主題和外掛程式輸出的 doctype、html、head 和 body 標籤,以及樣式和腳本。
備註
要設置模板,請編輯頁面時,在“頁面屬性 > 模板”下選擇“Blank”或“Creative”。
兩種選項都不會包括主題的任何實際可見內容:標誌、菜單、頁腳等。
如果您想透過啟用帖子編輯器中的 PHP,延伸外掛的實用性,請參閱:https://github.com/bhadaway/allow-php-in-wordpress。
外掛標籤
開發者團隊
原文外掛簡介
💬 Ask Question | 📧 Email Me
A completely blank custom page template to build on.
Blank includes two extremely minimalist (and when I say minimalist, I mean this probably isn’t what you’re looking for) custom page templates, Blank and Creative.
Blank — Blank is truly, well, blank. It will literally output nothing, except for exactly what you enter into the page content area (not even the doctype, html, head, or body tags are there by default).
Creative — Creative is just Blank, but includes the doctype, html, head, and body tags as well as scripts and styles output by WordPress, your theme, and plugins by default.
Notes
To set a template, select “Blank” or “Creative” under Page Attributes > Template when editing a page.
Neither option will include any actual visible content from your theme: logo, menu, footer, etc.
If you would like to extend the usefulness of the plugin by enabling PHP in the post editor, see: https://github.com/webguyio/allow-php-in-wordpress.
