內容簡介
這個外掛能夠從 Prologue 主題添加文章框(已經修改以包含標題和分類下拉框)到任何主題上。
這個外掛重複使用了Prologue 主題的大部分程式碼,依據 GNU 通用公眾授權條款使用。感謝 Prologue 的作者 Joseph Scott 和 Matt Thomas。
關於外掛的行為,以下是一些注意事項:
在 WordPress 2.7 和更高版本中,您可以選擇您想顯示在表單中的欄位以及您想在哪些頁面上顯示表單。這些設置在「設定 » 撰寫 » Posthaste Settings」中。
如果您將「標題:」欄位留空,它會從文章內容中選取前 40 個字元並將其作為標題。
如果您將「分類:」方塊留在其預設設置(「Category...」),它會發佈到您的預設分類。但是...
如果您有一個名為「asides」的分類,即使您沒有明確地在下拉框中指定「asides」分類,它也會將空標題的文章放入「asides」分類中。您可以將它們視為 asides 來樣式化。
包含的 CSS 是故意簡單的。如果您的主題已經對表單進行了樣式設置,它可能會繼承您主題的樣式設置。如果您想自定義表單的外觀,只需自定義您自己的 css 檔案即可。
外掛標籤
開發者團隊
原文外掛簡介
Adds the post box from the Prologue theme (modified to include a Title field and Category dropbox) to any theme.
This plugin reuses much code from the Prologue theme according to the terms of the GNU General Public License. So a big thanks to the authors of Prologue, Joseph Scott and Matt Thomas.
A few notes about the plugin’s behavior:
In WordPress 2.7 and higher, you can select which fields you want to appear in the form and what pages you want the form to appear on. Settings are in “Settings -> Writing -> Posthaste Settings”.
If you leave the “Title:” field blank, it takes the first 40 characters of the post content and makes that the title.
If you leave the “Category:” box at its default setting (“Category…”) it posts to your default category. However…
If you have a category named ‘asides’, it will put posts with empty titles into the ‘asides’ category even if you do not explicitly specify the ‘asides’ category in the dropdown. You can then style them as asides.
The included CSS is deliberately simple. If your theme already styles forms, it will probably inherit your theme’s styling. If you want to customize the appearance of the form, just customize your own css files.
