0

How do I create a relationship between custom post types and registered users? So, I can display posts related/associated with that user on their account page. Please, any suggestions would be greatly appreciated.

3
  • why not set them as the author for the posts and then set the user as an author
    – rudtek
    Commented Aug 20, 2021 at 22:00
  • I can't @rudtek. It is a membership site where uses are ascribed a basic membership upon registration. Any other suggestion(s) please?
    – jeno
    Commented Aug 21, 2021 at 12:23
  • Create an additional relational field (with acf or such) linked to a user, query posts by this new created field meta query
    – funkysoul
    Commented Aug 23, 2021 at 5:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.