Blog

WordPress Bulk edit posts author: 3 easy ways to bulk change posts author in WordPress

bulk edit WordPress post author
Table of Contents

One of the most important features of WordPress is the ability to bulk edit the author of multiple posts. Using the right editing tools, you can quickly filter and bulk change the author of some posts in a few seconds.

In this guide, we want to show you three methods to bulk change the author in WordPress posts, pages, and custom posts:

  1. Bulk edit post author by default editor of WordPress
  2. WordPress change post author programmatically.
  3. Bulk edit post author WordPress plugin.

Let’s see how these methods for WordPress bulk change post authors can help you save your time and effort.

Why do you need to WordPress bulk edit posts author?

The main reason for WordPress bulk change post author is to prevent the loss of information created by an author. For example, consider that you have a large website with several active authors. If any of them decide to leave, the best action is to transfer all posts created by that author to one of the active users working on your website.

On the other hand, when multiple authors write for your WordPress site, sometimes you have to change the author of several posts. For instance, you may want to show a specific user as the author of multiple posts or assign an editor to a post instead of an author.

For any reason you may need to WordPress bulk change post author, it is essential to use one of the solutions we will share with you in this guide.

Method #1: Use the default editor for bulk change author WordPress 

The simplest way to bulk change a post author is by using the default editor of WordPress for posts or pages by following the below steps:

WordPress bulk change post author

To have access to the default editor of WordPress, first, you need to open the All Posts page:

Click all post menu in WordPress dashboard

On this page, you can see a list of all posts in a table with filtering and bulk editing options on top.

To quickly bulk change WordPress post author, try to:

  1. Filter posts

There are two options available for filtering WordPress posts:

  • Filter by date
  • Filter by category

You can set a date range, then choose one category from the list, and finally press the Filter button to limit the list of posts displayed in the table.

  1. In the next step, you need to mark some posts in the result table.
Filter WordPress post and select desired posts
  1. Now, you can open the default editor form by choosing the Edit option from the dropdown list of Bulk Action and pressing Apply.
Click bulk edit action in WordPress
  1. In this form, locate the Author field and click on the author list combo box.
Select new WordPress post author and WordPress bulk edit posts author
  1. Select one of the authors from the list and press Update to bulk change the WordPress post author.

Bulk change author WordPress pages

The steps to bulk edit author WordPress pages are almost the same. Let’s review it:

  1. Go to All Pages.
  2. Filter pages by date.
  3. Mark some pages in the table.
  4. Open the dropdown list of Bulk Actions and choose Edit.
  5. Press the Apply button.
Filter pages and select them for WordPress bulk edit pages author
  1. Find the Author field, and choose one of the authors from the list.
  2. Press the Update list.
Select WordPress page author

Method #2: WordPress change post author programmatically

Using PHP code to tweak an existing feature of WordPress or add a new feature is another method for bulk editing post author. To run Function.php codes, go to the WordPress Dashboard > Appearance > Theme > Theme Editor, find your theme file in the list, and finally add the code in the editor.

By running the following code, you can easily bulk edit the author of 3 posts with ID numbers. You can change the ID numbers and the number of posts – highlighted in yellow – to bulk edit the author of as many posts as you need.

<?php
// don't forget to delete it or comment it out after using!
add_action( 'init', function(){
  $pids = [ 3439, 3214, 5370 ]; // change it
  $new_athor = 3; // change it
  for each ( $pids as $pid ) {
    wp_update_post( ['ID' => $pid,'post_author' => $new_athor] );
 }
} );

Keep in mind that for WordPress to change post author, programmatically it is essential to have enough knowledge in code writing. Otherwise, you must ask an expert to do this task.

It is also important to backup your site before running any code to prevent unexpected errors and restore your site if needed.

We also recommend you create a child theme and insert this code. 

Method #3: Use bulk edit post author WordPress plugin

WordPress posts/pages bulk edit plugin with a hassle-free interface provides all essential tools for bulk editing all features of WordPress posts. There is no need to add codes or spend a lot of time making changes to the post fields manually. You can simply bulk change author WordPress posts and pages by following the three below steps:

Step 1: Install bulk edit post author WordPress plugin

The first step to bulk edit post author WordPress with this plugin is downloading and installing it on your WordPress website. 

After activation, you can find the iT Bulk Editing menu in the WordPress dashboard. Now you can press the WP Posts submenu to go to the plugin main page:

Select WordPress posts bulk edit menu

On the main page, all essential tools for bulk change author WordPress posts and pages are designed in a comprehensive toolbar on top of the table:

WordPress posts/pages bulk edit plugin main page

It is possible to switch between WordPress posts, pages, or custom posts by pressing the Post Type Tool on the Toolbar as illustrated below:

Change WordPress post type in WordPress post/page bulk edit plugin

In the next steps, we want to show you how to use the Filter and Bulk Edit forms to bulk change author WordPress.

WordPress post bulk edit

Step 2: Filter WordPress posts for bulk edit post author

A comprehensive Filter Form designed in the WordPress posts/page bulk edit plugin allows you to filter the posts/pages/custom posts based on all WordPress fields.

To use this Filter Form, click on the Filter icon of the Toolbar, then set the filter you need and press the Get Posts button to see the filtered posts in the table.

For example, we tried to filter all posts with Food in their title by following the below instructions:

  1. Go to the General Tab.
  2. Locate Post Title and choose Like from the list of operators.
  3. Write Food in the textbox.
Filter WordPress posts in WordPress bulk edit plugin

By Pressing the Get Posts button, a list of all posts with food in their titles will be displayed in the table:

Result of filtered WordPress posts

Step 3: Use the bulk edit form to WordPress bulk change post author

In the next step, you need to use the Bulk Edit form to bulk change the author’s WordPress. To make this happen, try to:

  1. Mark some posts in the table.
  2. Press the Bulk Edit icon on the Toolbar.
  3. In the Bulk Edit form, go to the General tab.
  4. Find the Author field and choose your preferred author from the list.
  5. Press the Do Bulk Edit button.
Select WordPress post bulk edit authors

You have successfully changed to the author of selected posts with one click.

Result of changed WordPress post authors

Bonus tips #1: Bulk edit author WordPress pages

As we mentioned earlier, you can instruct the plugin to show the pages in the table by pressing the Select Type tool and choosing Pages from the list: 

Select WordPress pages to bulk edit author

To bulk change author WordPress pages, you can easily follow the steps we described in step 3.

List of pages in WordPress posts bulk edit plugin

However, bulk editing is not the only tool for making changes in the WordPress posts/pages/custom posts plugin. 

Bind Editing is another way to help you quickly bulk change WordPress authors directly from the table.

Let’s review the steps to use the Bind Edit tool for bulk change author WordPress pages:

  • Mark some pages in the table.
  • Press the Bind Edit tool on the Toolbar.
  • Open the dropdown list of Authors related to one of the selected pages.
  • Choose your preferred Author from the list.
  • Press the Enter key.
Check bind edit select and bulk edit WordPress pages

In a few seconds, the plugin will change the Author of all selected pages as we expected:

Result of bind edit WordPress pages

Note: If the author column is not displayed in the table, you can open the Column Profile form and mark the Author field to add it to the table as illustrated below:

Add author column to WordPress post bulk edit plugin

Bonus tips #2: Bulk change author WordPress custom posts

WordPress posts bulk editing plugin allows you to bulk edit custom posts as well as pages. First, you need to open the Select Type combo box to make any changes to the WordPress custom post types. In this box, you will see a list of all custom post types created in WordPress.

You can easily choose one of them from the list to see the related custom posts in the table.

Select WordPress custom post type

After choosing the right custom posts- Books in this example – you can access the above-mentioned tools, including Filter Form, Bulk Edit form, or Bind Editing tool to bulk change author WordPress custom posts as we described before.

However, to help you have a better insight into the tools available in the bulk edit post author WordPress plugin, we want to use the Inline Edit method to change the Author of one Custom Post in the table.

Inline editing is a quick and straightforward way when you need to change the author of a few posts/pages or custom post types directly in the table.

To use this method, follow the below instructions:

  • Add the Author column to the table by using the Column Profile form.
  • Filter custom posts based on your need by getting help from Filter Form.
  • Click on the Author cell related to the Custom post you want to change.
  • Choose one of the Authors from the list.

That’s it. You have successfully changed the author of one custom post, and you can try to quickly change the other ones by following the same steps.

Filter WordPress post and select desired posts
WordPress post bulk edit

Conclusion

If your WordPress site has multiple authors, you may want to change the author of multiple posts for various reasons, regularly. Fortunately, there are several ways to WordPress bulk change post author, which we have explained in detail in this guide. Among the mentioned ways, using the WordPress posts bulk editing plugin will get you to your goal more easily and quickly. This plugin does not require coding and provides all the necessary tools to bulk edit all post features.

Leave a Reply

Your email address will not be published. Required fields are marked *

Shopping cart
Sign in

No account yet?

We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.

Start typing to see products you are looking for.