Draft Post Generator

Àpèjúwe

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

  1. Navigate to Tools Draft Post Generator in the WordPress admin menu.
  2. Enter post titles, one per line. Use hyphens to indicate hierarchy.
  3. Select the desired post type and post status.
  4. 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
Ìtumọ̀ Yorùbá: – Team
Ìtumọ̀ Yorùbá: – History
Services
Ìtumọ̀ Yorùbá: – Web Development
Ìtumọ̀ Yorùbá: – 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.

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

  1. Download the plugin files or clone the repository.
  2. Upload the plugin folder to your WordPress /wp-content/plugins/ directory.
  3. Go to the Plugins menu in WordPress and activate Draft Post Generator.

FAQ

Does it support pages or custom post types?

Yes. You can select any public post type, including custom ones.

Does it publish the posts?

The plugin defaults to creating drafts. You can select a different post status before generating.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Draft Post Generator” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Draft Post Generator” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.2

Minor updates with safe redirects, escaping error message on insert.

1.0.1

Minor updates with escape variables, languages support.

1.0.0

  • Initial release.