Support » Plugin: Co-Authors Plus » Add authors in the database

  • Hi !

    I have an old project in Rails with a big database. In this database, I had companies, and multi-authors for one company.

    Now for some reasons I have to develop my website in WordPress. So I’ve created a custom post type which is named “companies”. Thanks to your plugin, I would like to linked multiple authors to each companies. But I have to do that via the database, because I have a lot of companies and a lot of users.

    So imagine that I have :
    – A company ID = 10,
    – A user ID = 2,
    – A user ID = 3,

    Users ID = 2 and ID = 3 have to be authors of company ID = 10. What do I have to add in the DB to achieve that, assuming none of these users are authors right now.
    Thanks a lot 🙂 !

  • The topic ‘Add authors in the database’ is closed to new replies.