WordPress.org

Ready to get started?Download WordPress

Forums

Multiple authors with 1 User Profile (4 posts)

  1. absalom
    Member
    Posted 9 years ago #

    I am currently migrating a third party web database management system into a WP 1.5 Strayhorn site (15,000 pages+), and have hit a brick wall in terms of the migration of authors. Post and category migration has been completed (with initial tests on WP 1.2.2 and further testing on 1.5), it's just this last issue that's holding me back..

    Currently there is 1 user inside the system who publishes not only their material, but also material of numerous other people (100+ people, possibly more).

    WordPress, from my understanding of it, needs a unique author/account in the backend (the Authors and User subpanel), to have a different author name in the frontend (through the use of preferred identity, afaics).

    The nickname field, under wp_authors, seems too limited for my needs, as I will need to differentiate between each 'author' of the article, irrespective of the 1 'publisher' for the entire site.

    What I want is the 'author' of the article to remain post-migration to Strayhorn so that WP can display it in the front end, whilst still only having 1 dedicated 'publishing' (i.e. 1 User Profile) account in the backend.

    Does anyone have any ideas / hacks or concepts which might help speed up migration and still keep the relevant distinction I'm looking for ?

  2. skippy
    Member
    Posted 9 years ago #

    You could use a post's meta field to add a new "my_author" key. Then assign the proper author attribution to this key, and use the appropriate template tag to show this instead of the_author().

  3. absalom
    Member
    Posted 9 years ago #

    Skippy,

    Is just specifying a meta_key ("my_author") and meta_value ("name goes here") in the postmeta table ??

    If so, how do I differentiate between meta keywords (which I'm planning to put in the header) and this additional key inside the template?

  4. skippy
    Member
    Posted 9 years ago #

    These might help explain some:
    http://codex.wordpress.org/Template_Tags/the_meta
    http://codex.wordpress.org/Using_Custom_Fields

    And it might be the case that my original suggestion isn't the best solution. If you find a better way to accomplish what you want, please share it both on yout blog and here, so that others can learn from your experience.

Topic Closed

This topic has been closed to new replies.

About this Topic