WordPress Posts Multi Author without using plugin


I am trying to code a PHP page which I can allow multiple authors for posts.

At first I have my pageAuthors.php page, it allows me to choose my post and check for available authors. It is a simple form with an action that redirects it to a page showAuthors.php.

After being on showAuthors.php, you’ll have the post you choosed and the available authors in a checkbox with the publisher automatically checked.

You can check other authors for being co-authors.

Everything is okay but I dont know the query I should write to access different tables in the database.

I searched and found that I should at first:

  • Register a taxonomy using an array.
  • Update post count for published users.



All I need is the query to make give access to the other author to the and let him edit it.

Some useful links:

Where is Author Data Stored in the Database?

Where are WordPress Users and Permissions Stored in the Database?

fuxia 2 months 2021-04-03T16:25:59-05:00 0 Answers 0 views 0

Leave an answer