This is a developer plugin for WordPress developers to easy their initial content setup process.
It is a simple plugin; it gives you a text input form and on the first line you type the page title, on the second line you type the slug. Then you repeat the process for as many pages that you want to create.
When you press the Create page stubs page it will automatically create all of the stubs for you.
Who This Is Aimed At
This plugin is for website developers that want to speed up their initial content setup process.
It is a really simple plugin by design. I wrote it to help speed up my own website development process.
I can see some ideas as to how this could be expanded and if you find this useful I’m open to suggestions on the GitHub Issues page.
How It Fits Into My Workflow
First I plan out the structure of my site in a sitemap document. This document contains the page names and the slugs.
Then I create another document from this which details all of the page meta like, descriptions, titles, headers, contents text, footer tags and any other optimisations I want to add.
This plugin lets me quickly process my sitemap document into real page stubs on the website, complete with the slugs I want.
The results page is then shown which has edit page links for all of the new pages.
This allows you to easily open up each tab in the order I’ve planned out (not alphabetically sorted like WordPress defaults) and insert the remaining meta to the pages.
If this sounds like your workflow then this plugin could save you time!
- I don’t want to specify the slug (url) for each page
If you leave the every second line blank then WordPress will automatically generate the slug based on the title of your page.
- I want to bulk create a different posttype, is that possible?
Not at the moment. But its really simple for you to change the block of code that creates the pages, its just a simple
call to one of the WordPress functions called
wp_insert_post(). The same function is used to create all posttypes by
simply altering the
You can find documentation for the
wp_insert_post()function in the official codex at:
You can find the code within the plugin in the
- I have some other great idea for the plugin
Great! Open an issue on https://github.com/rtpHarry/BulkPageStubCreator-WordPress/issues and lets discuss it.
Thank you! works great! conveniently and quickly create pages was!
- Initial release