{{item.post_title}}

{{item.bb_seo_google_meta_description}}

{{item.post_title}}

{{item.bb_seo_google_meta_description}}

Start typing to search. Maybe search for something like Javascript, Wordpress or Tailwind.

How to change the post author in WordPress

Tutorial

How to change the post author in Wordpress

WordPress plugin tutorial: How to change the post author in WordPress.
Sometimes you need to change the author of a WordPress post. This can be quite the hassle. Let’s say you have a WordPress website with a lot of blog posts. You don’t want to edit every single post one by one.

Download the plugin

If you aren’t familiar with PHP, you can download the complete plugin. I uploaded the plugin to Gumroad. From there you can easily download the complete WordPress plugin for a small price.With this plugin you can easily bulk edit the author of a blog item, page or custom post type item.

Step 1

Get the id's

Find the id’s of the post and author. You can easily find the id as a GET parameter within the url.

Extend the code

I worked on the code a little bit more and extended it into a WordPress plugin. Within the plugin you can loop through all the post and edit the post author. This can save you a lot of time when you accidentally created some posts with the wrong author.

You can download the plugin at Gumroad. If you have any questions about the code, hit me up on Twitter!

Want to read more?

Related blog items

Check out these related blog items.
4 November 2019

Work in progress

4 January 2020

Tech skills I want to learn in 2020