How to Add Pages in WordPress and Bulk Create Multiple Pages

Bulk add pages in WordPress

How to Add Pages in WordPress and Bulk Create Multiple Pages

Pages are one of the core content types in WordPress and are commonly used to present important information such as contact details, company information, services, and landing pages. Almost every WordPress website includes several essential pages like the homepage, about page, and contact page.

Normally, adding a new page in WordPress is a simple process. You can go to the WordPress dashboard, click on the Pages menu, and create a new page using either the Gutenberg editor or the Classic editor. However, when you need to create many pages at once, the process becomes time-consuming and inefficient.

For example, website designers often need to build location pages, service pages, or landing pages with similar layouts. Creating each page manually can take hours, especially when dozens or even hundreds of pages are required.

In such situations, using a WordPress bulk page creator method becomes extremely useful. Bulk page creation allows you to generate multiple WordPress pages automatically, saving time and simplifying the website setup process.In this guide, we will explain two easy methods to add pages in WordPress and bulk create multiple pages. You will learn how to create pages programmatically using code and how to generate multiple pages quickly using WPBULKiT plugin.

What is a page in WordPress?

Pages in WordPress are the necessary content for creating a WordPress website containing the most important information you want to share with your visitors. The content in the WordPress pages is generally static and you don’t need to frequently add a page WordPress or update them like WordPress posts.

Once you launch your website, some useful pages like “About us”, “Home page”, “Contact us” or “Services” are created and the web designer will make them look attractive to your target audience. 

How to add a new page in WordPress?

To add a page in WordPress, first, you need to navigate to the WordPress Dashboard > Pages > Add New Page. WordPress will create a new page based on the editor activated on your website. In the following guide, we will show you how to create a new page in Classic and Gutenberg editors in WordPress.

Add a new page in WordPress
Add a new page

Add a page in WordPress by Gutenberg editor

If you have activated the Gutenberg editor on the WordPress website, follow the below steps to create a new page in WordPress:

  • Add a Title in the first block.
  • Insert the page content in the second block. You can add different blocks like text, image, video, etc. To design your page in Gutenberg editor.
  • Press the Publish button.
Add a page in WordPress by Gutenberg editor
Publish a page in WordPress Gutenberg

WordPress add new page in the classic editor

The process of WordPress create a new page in the classic editor is almost the same as the Gutenberg editor. You need to Add a title in the first box and then insert your content in the second box. Unlike the Gutenberg editor, there are no blocks in the classic editor. So, you have to add your page content in one classic editor.

Finally, press the Publish button to add a page on WordPress.

WordPress add new page in the classic editor
Add a page using WordPress classic editor

How to add bulk WordPress pages?

Here is a comprehensive guide for automating the process of WordPress bulk create pages with two methods:

  1. Bulk add pages in WordPress programmatically.
  2. Bulk add pages in WordPress using the bulk page creator plugin.

Let’s see which method is best for you.

Bulk add pages in WordPress programmatically

One of the most efficient ways to create bulk pages in WordPress is by adding a functions.php file to the child theme of your website. Although we provide the required code for bulk create WordPress pages, it’s recommended that you use this code only if:

  • You have some programming skills to prevent any further problems.
  • Backup your site to restore the previous data if needed.
  • You have created a child theme
  • You have used the Code Snippets plugin to add custom PHP code to your WordPress site

By copying & pasting the below PHP script and running the code, you can generate 20 pages at once. You can also use the following script to create child pages under the parent page: 

// List of pages to create with nested structure
$pages = array(
    'Page 1' => array(
        'Subpage 1.1',
        'Subpage 1.2'
    ),
    'Page 2' => array(
        'Subpage 2.1' => array(
            'Sub-subpage 2.1.1',
            'Sub-subpage 2.1.2'
        ),
        'Subpage 2.2'
    ),
    'Page 3' => array()
);

foreach ($pages as $page_title => $child_pages) {
    $page_exists = get_page_by_title($page_title);

    if (!$page_exists) {
        // Create the parent page
        $page_id = wp_insert_post(array(
            'post_title'     => $page_title,
            'post_content'   => '',
            'post_type'      => 'page',
            'post_status'    => 'publish',
        ));

        // If there are child pages, create them under the parent page
        foreach ($child_pages as $child_page_title => $sub_child_pages) {
            if (is_array($sub_child_pages)) {
                $subpage_id = wp_insert_post(array(
                    'post_title'     => $child_page_title,
                    'post_content'   => '',
                    'post_type'      => 'page',
                    'post_status'    => 'publish',
                    'post_parent'    => $page_id
                ));

                foreach ($sub_child_pages as $sub_child_page_title) {
                    wp_insert_post(array(
                        'post_title'     => $sub_child_page_title,
                        'post_content'   => '',
                        'post_type'      => 'page',
                        'post_status'    => 'publish',
                        'post_parent'    => $subpage_id
                    ));
                }
            } else {
                wp_insert_post(array(
                    'post_title'     => $child_page_title,
                    'post_content'   => '',
                    'post_type'      => 'page',
                    'post_status'    => 'publish',
                    'post_parent'    => $page_id
                ));
            }
        }
    }
}

Bulk add WordPress pages with WordPress bulk posts/pages editing plugin

The WordPress posts/page bulk edit plugin is a bulk page creator plugin with a streamlined solution that allows you to add as many pages as you need to your WordPress website without writing a single line of code. 

So, if the first method is not the best choice for you, follow the step-by-step guide below to create bulk WordPress pages with the WordPress bulk posts edit plugin:

WPBULKiT - Bulk Edit WordPress Posts / Pages plugin by ithemeland

Step 1: Install WordPress post/pages bulk edit plugin

To use the WordPress bulk posts editing plugin, you have to install the ZIP file through an FTP server

ReadMore: How to install WPBULKiT – Bulk Edit WordPress Posts / Pages Plugin? 

After activation the plugin, you can see the iT bulk Editing tab added to the WordPress dashboard. By selecting WP posts under this menu, the plugin will lead you to the main page.

Select WP Posts menu in WordPress Dashboard
Open WPBULKiT plugin

On the main page, a list of all WordPress posts is listed in a table. There is also a comprehensive toolbar containing all the tools you need to bulk create pages WordPress or bulk edit them.

Before going through the steps for WordPress bulk create pages, you have to switch the post type and show the WordPress pages in the table by following the instructions below:

  • Click on the Post Type tool.
  • Open the Select post type list.
  • Choose Page from the list.
Select post type in WordPress posts/page bulk edit plugin toolbar
Select post type as Page

Here, a list of all WordPress pages is displayed in the table and you are ready to create bulk WordPress pages.

Step 2: Bulk create pages on WordPress 

There are flexible methods for WordPress bulk create pages in the WordPress bulk posts edit plugin. You can use the Add Page tool to add as many new pages as you need to your website or utilize the Duplicate tool to clone existing pages.

Let’s review how to create bulk pages in WordPress with both methods.

Method 1: Use the add page tool 

The Add page tool is easily recognized in the toolbar by its green color. To bulk create pages in WordPress, you can simply press the + icon to see the New Page pop-up.

WordPress bulk create pages in WordPress posts/pages bulk edit plugin
Click on the Add Page button

In this pop-up, you can insert the number of pages that you want to add to your website. For example, if you insert 3 in the textbox, and press Create button, 3 new pages will be added to the site.

Enter how many new pages to create
Enter the number of pages to create

You can also see the newly added pages in the table and use inline edit or bulk edit methods to edit their fields.

Bulk add new pages result in WordPress posts/page bulk edit plugin
Result of created pages

Method 2: Use the duplicate tool to create bulk pages in WordPress 

Another useful method for bulk creating pages in WordPress is making multiple copies from existing pages. The duplicate option is a great solution for bulk creating pages with similar formats and structures. To make this happen, try to:

  • Mark some pages in the table.
  • Press the Duplicate tool to see the duplicate pop-up. 
Duplicate tool to add bulk pages in WordPress
Select and duplicate pages
  • Insert how many times you want to clone selected pages.
  • Press the Start Duplicate button.
Duplicate selected pages in WordPress posts/pages bulk edit plugin
Select number of items to duplicate

For example, we wrote 2 in the pop-up text box which means the plugin duplicated selected pages 2 times and displayed them in the table: 

Duplicated pages result
Result of duplicated pages

ReadMore: WordPress duplicate page: How to clone pages in WordPress? (+5 free plugins)

When do you need to bulk create pages in WordPress?

Bulk create WordPress pages is a great solution, when you need to simplify the process of adding multiple pages with the same layout to your website. Creating WordPress pages manually is a time-consuming task especially for web designers when they are setting up a new website for their customers. They usually use WordPress bulk create pages to automate the publishing process of the following: 

  • Landing pages: Perfect landing pages are vital for attracting visitors and enhancing conversions. With bulk create pages WordPress, web designers can conveniently generate unique landing pages with the same format to run ad campaigns, successfully.
  • Location pages: Some online stores provide services/products in different geographical locations, so, web designers need to create unique pages for each geographic area to let customers order their products or services conveniently. The overall layout of location pages is the same, so web designers can make the process faster by adding bulk WordPress pages.
  • Service/product pages: WordPress bulk create pages allow store managers to create unique pages for various products/services quickly and easily.
WPBULKiT - Bulk Edit WordPress Posts / Pages plugin by ithemeland

Conclusion

Adding pages is a fundamental part of building and managing a WordPress website. Pages are typically used to present static information such as services, company details, landing pages, and location-based content.

While creating a single page in WordPress is very simple, building many pages manually can quickly become a repetitive and time-consuming task. This is especially true for web designers and website managers who need to generate multiple pages with similar structures.

To solve this problem, WordPress users can rely on two practical methods. The first method involves creating pages programmatically using custom PHP code, which is suitable for developers who are comfortable working with WordPress functions. The second method uses a bulk page creator plugin like WPBULKiT that allows users to generate multiple pages quickly without writing any code.

Choosing the right method depends on your technical experience and the number of pages you need to create. In both cases, using bulk page creation techniques can significantly speed up the website development process.

FAQ

What is a page in WordPress?

A page in WordPress is a type of content used to display static information on a website. Pages are commonly used for important sections such as the homepage, about page, contact page, and service pages. Unlike blog posts, WordPress pages are not usually updated frequently and are not organized by categories or tags.

How do I add a page in WordPress?

To add a page in WordPress, go to the WordPress dashboard and navigate to Pages → Add New. After entering a title and the page content, you can publish the page using either the Gutenberg editor or the Classic editor.

How can I create multiple pages in WordPress at once?

You can create multiple pages in WordPress by using custom PHP code or a bulk page creator plugin like WPBULKiT. These methods allow you to generate many pages automatically instead of creating each page manually.

What is a WordPress bulk page creator?

A WordPress bulk page creator is a tool or plugin that allows website managers to create many pages at the same time. This is useful when building landing pages, service pages, or location pages that share a similar layout.

Can WordPress create pages programmatically?

Yes. WordPress allows developers to create pages programmatically using functions such as wp_insert_post. This method can automatically generate pages and even create parent and child page structures.

When should you bulk create pages in WordPress?

Bulk page creation is useful when building websites that require many similar pages, such as location pages, landing pages for marketing campaigns, or service pages for different categories of products or services.

Related Articles

You might also be interested in these articles

Reader Comments

Join the conversation and share your thoughts

Leave a Reply

Start Your Journey

Sign in / Sign up account to continue