Skip to content
GPLWP Guides

How to bulk generate pages and posts in WordPress

Content Time About 30–60 minutes Updated 3 Dec 2026

CONTENT
The short answer

WordPress does not include a dashboard tool for creating hundreds of new pages or posts at once. For a small batch, add them manually; for a large batch, use WP-CLI, the REST API, custom code, or a template-driven plugin, and create drafts before publishing.

What you need

  • Administrator or editor access to WordPress
  • A spreadsheet or content list with titles and content
  • A full backup or staging site
  • SSH access for WP-CLI, API credentials, or a bulk-generation plugin
The fast route

Let Page Generator Pro do it

Template-driven bulk generation for pages, posts, and custom post types, ideal for programmatic or location-based content.

Get Page Generator Pro

Sources

  1. developer.wordpress.org /reference/functions/wp_insert_post/?utm_source=openai
  2. developer.wordpress.org /rest-api/reference/pages/?utm_source=openai

Questions

Can WordPress create many new posts without a plugin?
Yes, but not from the normal dashboard in one bulk action. You can create items with WP-CLI, the REST API, or custom PHP using WordPress's post-insertion functions. The dashboard bulk editor is intended for changing existing posts and pages, so manual entry is reasonable for a few items but inefficient for dozens or hundreds.
What is the fastest way to bulk create pages?
The fastest route depends on your access and content shape. Use WP-CLI for a repeatable spreadsheet-driven script, the REST API when another application supplies the content, or a template-based plugin when non-developers need to manage variables and generation from the WordPress admin. Always test a small draft batch first.
How do I create both posts and pages in one import?
Include a post-type column in your source data and map each row to either <code>post</code> or <code>page</code>. With WP-CLI or PHP, pass the appropriate post type for each record; with the REST API, send posts to the posts endpoint and pages to the pages endpoint. Validate page parents separately because pages can be hierarchical while posts normally are not.
Why did my bulk import create duplicates?
Duplicates usually appear when an import is rerun without recording which source rows already produced WordPress IDs, or when a timeout occurs after creation but before the script records success. Add a unique source identifier to each row, check it before inserting, log every returned post ID, and retry only failed records. Run the first import as drafts so mistakes are easier to remove.
Should bulk-generated content be published immediately?
No. Create drafts first unless the content has already passed editorial review. Check the generated titles, slugs, formatting, links, taxonomies, images, metadata, and search visibility before publishing. Immediate publication can expose broken placeholders, duplicate content, incorrect page parents, or partially imported records to visitors and search engines.