
內容簡介
**總結:** Draft Post Generator 是一個 WordPress 外掛,允許從標題列表中批量創建草稿文章。它支援自定義文章類型,並使用連字符表示巢狀結構。
**問題與答案:**
1. 這個外掛的功能是什麼?
- 可以從以換行分隔的標題中批量創建草稿文章。
- 可以使用連字符進行階層式文章生成(如果文章類型支援父節點)。
- 支援所有公開的自定義文章類型。
2. 該如何使用這個外掛?
- 在 WordPress 管理選單中導航到「工具 → 草稿文章生成器」。
- 逐行輸入文章標題。使用連字符表示層次結構。
- 選擇所需的文章類型和文章狀態。
- 點擊「生成草稿」以創建文章。
3. 標題層次結構的規則是什麼?
- 頂級文章:沒有連字符(例如,文章 A)。
- 子文章:一個連字符(例如,- 文章 B)。
- 孫文章:兩個連字符(例如,-- 文章 C)。
4. 可以舉一個示例層次結構嗎?
- 首頁
- 關於我們
- 團隊
- 歷史
- 服務
- 網頁開發
- 平面設計
5. 這個外掛的授權方式是什麼?
- 本外掛採用 GNU 通用公共授權條款 v2.0 或更新版本授權。
- 可查看完整授權文件:https://www.gnu.org/licenses/gpl-2.0.html。
外掛標籤
開發者團隊
原文外掛簡介
Draft Post Generator is a WordPress plugin that allows bulk creation of draft posts from a list of titles. It supports custom post types and allows for hierarchical structures using hyphens to indicate nesting.
Features
Bulk draft post creation from newline-delimited titles.
Hierarchical post generation using hyphens (if post type supports parent).
Supports all public custom post types.
Integrated into the WordPress admin Tools menu.
Usage
Navigate to Tools → Draft Post Generator in the WordPress admin menu.
Enter post titles, one per line. Use hyphens to indicate hierarchy.
Select the desired post type and post status.
Click Generate Drafts to create the posts.
Title Hierarchy Rules
Top-level posts: No hyphens (e.g., Post A)
Child posts: One hyphen (e.g., - Post B)
Grandchild posts: Two hyphens (e.g., -- Post C)
Example Hierarchy
Home Page
About Us
– Team
– History
Services
– Web Development
– Graphic Design
License
This plugin is licensed under the GNU General Public License v2.0 or later.
See https://www.gnu.org/licenses/gpl-2.0.html for full license text.
