WordPress.org

Forums

Associating a Custom Post Type with the User Object (2 posts)

  1. Andrew Schultz
    Member
    Posted 1 year ago #

    I'm am trying to get my head around how you would create a custom post type that links to the user object.

    I want to create a custom post type called Contact which stores a contacts first, last name, job title etc

    However, I would like this "Add Contact" to appear in the User menu and link to a user when you edit that user. It would be a one (user) to many (contacts) relationship.

    Basically I want to be able to assign many contacts which are not wordpress users to a user object.

    Any ideas or plugins out there that will do this??

    Cheers

  2. lydia_b
    Member
    Posted 8 months ago #

    Hi tabboy. It's been a while, but even if you're past this project, I managed to search my way to this post. So, for the benefit of future searchers, look at either of these:

    https://wordpress.org/plugins/custom-field-suite/
    https://wordpress.org/plugins/advanced-custom-fields/

Topic Closed

This topic has been closed to new replies.

About this Topic