
內容簡介
一款方便的WordPress外掛,可批量創建您希望遵循的階層的文章和頁面。
對WordPress開發人員來說是一個必不可少的工具。
開始使用
安裝並啟用外掛後,進入工具->快速文章創建器。請參考下面的使用部分了解使用信息和示例。
使用部分
當您進入工具->快速文章創建器時,您將找到一個表格,允許您批量插入文章/頁面。表單包含以下字段:
階層縮進字符
指定用於指定階層縮進的字符(或一組字符)。您可以在Entries文本中使用這些字符,為一個或多個條目添加一個或多個這些字符的前綴。您可以在下面的“條目”字段描述中了解有關該字段的使用方法。
文章類型
指定您要批量創建的條目的文章類型。
文章狀態
指定您要批量創建的條目的文章狀態。
條目
允許您插入任意的條目標題。每個條目應該在一行上。您可以在每個條目前面添加一個或多個階層縮進字符。例如,如果您的字符是一個星號*,您可以在條目開頭使用一個星號來指定它是最後一個沒有星號的項目的子項目。您可以在條目開頭使用2個星號來指定它是具有1個星號的最後一個項目的子項目,以此類推。您可以無限制地繼續層次結構。此外,您可能需要批量創建的條目數量沒有限制。
示例
示例1
以下示例將創建5篇帶有對應標題的已發表文章。
階層縮進字符:*
文章類型:文章
文章狀態:已發佈
條目:
文章1
文章2
文章3
文章4
文章5
示例2
以下示例將創建5個已發佈頁面,具有對應的標題和指定的層次結構(X1、X2作為X的子項,X1a作為X1和X2的子項,X和Y作為父項)。
階層縮進字符:-
文章類型:頁面
文章狀態:已發佈
條目:
頁面X
頁面X1
— 頁面X1a
頁面X2
頁面Y
意見和錯誤報告
如果您對新功能有想法,或者您想報告錯誤,請在支持選項卡中跟我們聯繫,或者您可以在該項目的Github存儲庫上進行操作:
https://github.com/tyxla/quick-bulk-post-page-creator
外掛標籤
開發者團隊
② 後台搜尋「Quick Bulk Post & Page Creator」→ 直接安裝(推薦)
原文外掛簡介
A handy WordPress plugin for batch creation of posts and pages in your preferred hierarchy.
Indispensable tool for WordPress developers.
Getting Started
After installing and activating the plugin, go to Tools -> Quick Post Creator. Please, refer to the Usage section below for usage information and examples.
Usage
When you go to Tools -> Quick Post Creator, you will find a form that allows you to bulk insert posts/pages. The form contains the following fields:
Hierarchy Indent Character
Specifies the character (or set of characters) that are used to specify the hierarchy indentation. You can use those characters in your Entries text, prepending one or more entries with one or more of these characters. You can read more about how this field is used in the “Entries” field description below.
Post Type
Specifies the post type of the entries that you want to bulk create.
Post Status
Specifies the post status of the entries that you want to bulk create.
Entries
Allows you to insert as many titles of entries as you wish. Each entry should be on a separate line. You can additionally prepend each entry with one or more hierarchy indent characters. For example, if your character is an asterisk – *, you can use one asterisk at the beginning of an entry to specify that it is a child of the last item without any asterisks. You can use 2 asterisks at the beginning of an entry to specify that it is a child of the last item with 1 asterisk, and so on. There is no limit of how deep you can go with your hierarchy. Also, there is no limit of the number of entries that you might want to bulk create.
Examples
Example 1
The following example will create 5 published posts with the corresponding titles.
Hierarchy Indent Character: *
Post Type: Posts
Post Status: Publish
Entries:
Post 1
Post 2
Post 3
Post 4
Post 5
Example 2
The following example will create 5 published pages with the corresponding titles and the specified hierarchy (X1, X2 as a child of X, X1a as a child of X1 and X2, X and Y as parents).
Hierarchy Indent Character: -
Post Type: Pages
Post Status: Publish
Entries:
Page X
Page X1
— Page X1a
Page X2
Page Y
Ideas and bug reports
If you have an idea for a new feature, or you want to report a bug, feel free to do it here in the Support tab, or you can do it at the Github repository of the project:
https://github.com/tyxla/quick-bulk-post-page-creator
