Outline Page Creator

Description

Setting up a new site usually starts with a site map: About, Team, Services, a dozen service pages, Contact. Creating those pages one by one, then fixing every parent and order by hand, takes an hour. Outline Page Creator does it in one step.

Type or paste an outline, one title per line. Indent a line to make it a child of the line above. Outline Page Creator shows you a preview of the tree, then creates every page with the right parent, order and slug.

About us
    Team
    History
Services
    Web design | web-design
    Hosting
Contact

What it does

  • Nested pages in one go. Any depth. Indent with spaces or tabs, or use leading dashes (“-“, “–“) if you prefer.
  • Preview before anything is saved. A table shows every title, its level, its slug and whether it is new or already exists.
  • No duplicates. Items that already exist with the same title and parent are reused, so you can run an outline again later to add missing pages, or add children under an existing page.
  • Custom slugs. Write Title | my-slug to set the URL slug.
  • Correct page order. New pages are ordered like the outline, after any pages that already exist under the same parent.
  • Start under any page. Put the whole outline under an existing parent page.
  • Any status. Draft, pending review, published or private, as your role allows.
  • Any content type. Pages, posts, and public custom post types. Hierarchical types keep the tree; flat types get a plain list.
  • One-click undo. Every run is logged. “Undo” moves exactly the items that run created to the Trash, and nothing else.
  • Pasting from documents works. List bullets (-, *, •) and non-breaking spaces from word processors are handled.

Built to stay out of the way

  • No settings page, no ads, no upsell notices.
  • No external requests, no tracking, no cookies. The plugin never contacts any server.
  • Only users who can edit pages see the screen, and the plugin checks the right capability for every content type, status and parent.
  • Uninstalling removes the plugin’s own data (run log, preferences, markers). The pages you created stay.

How to use

  1. Go to Pages > Add from Outline.
  2. Paste your outline. Choose the content type, the parent, the status and how nesting is shown.
  3. Click Preview and check the tree.
  4. Click Create. You get a list of the new pages with edit links and an Undo button.

For developers

  • Filter outline_page_creator_post_data to change the data passed to wp_insert_post() for each row (for example to set a page template or default content).
  • Action outline_page_creator_post_created fires after each item is created.
  • Filter outline_page_creator_post_types changes the offered content types.
  • Filter outline_page_creator_max_items changes the per-run limit (default 500).
  • Action outline_page_creator_run_created fires once per run with the IDs of all created items.
  • Action outline_page_creator_form_options lets you add fields to the options column.

Privacy

Outline Page Creator does not collect, send or store personal data outside your site. It stores, in your own database, a log of the last 20 runs (date, user ID, content type, IDs of created items) so runs can be undone, and each user’s last used options.

About this plugin

Outline Page Creator is made by Bernhard Siegl – oakenbit (https://oakenbit.com/). Legal notice: https://oakenbit.com/legal-notice/. Code produced by an AI system operated by Bernhard Siegl, tested automatically and reviewed by hand by Bernhard Siegl.

Screenshots

Installation

  1. In your dashboard go to Plugins > Add New Plugin and search for “Outline Page Creator”, or upload the plugin zip file.
  2. Activate the plugin.
  3. Go to Pages > Add from Outline.

FAQ

How do I make a page a child of another page?

Indent it under that page, with spaces or a tab. Every line that is indented further than the line above becomes its child. Lines with the same indentation are siblings.

My outline uses dashes instead of indentation.

Choose “Leading dashes” under “Nesting is shown by”. Then a line without a dash is top level, “-” is level two, “–” is level three, and so on.

Can I add pages under a page that already exists?

Yes. Either choose the existing page as the parent for the whole outline, or write the existing page’s title at the top of the outline and indent the new pages under it. With “Reuse items that already exist” switched on, the existing page is reused, not duplicated.

What happens if I run the same outline twice?

With “Reuse items that already exist” switched on, pages with the same title and parent are reused, so only missing pages are created. If nothing is missing, the preview tells you there is nothing to create.

How do I set the slug?

Add a vertical bar and the slug after the title: Web design | web-design. The last vertical bar on a line starts the slug, so a title may contain one if you also give a slug. Without a slug, WordPress creates one from the title.

Can I undo a run?

Yes. After a run, and later under “Recent runs”, click “Move to Trash”. Only the items created by that run are moved to the Trash, and only those you are allowed to delete. You can restore them from the Trash as usual.

Is there a limit?

One run creates up to 500 items. Split longer outlines into parts, or raise the limit with the outline_page_creator_max_items filter.

Does it create menus or page content?

No. It creates the pages (or posts) with titles, slugs, parents and order, and leaves the content empty for you to write. Developers can add default content with the outline_page_creator_post_data filter.

Some characters disappeared from a title.

For security, titles are cleaned like any text field in WordPress: HTML tags are removed, and a percent sign followed by two letters or digits (such as “%20”) is removed.

Does it work with the block editor and classic themes?

Yes. It uses the standard WordPress functions for creating content, so the created pages work with any theme and editor.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Outline Page Creator” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Outline Page Creator” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • First release: create nested pages or posts from an indented or dashed outline, with preview, reuse of existing items, custom slugs, page order and one-click undo.