Viewing 1 reply thread
  • Author
    Posts
    • #3483

      Hi

      I am putting together a plugin with 2 custom post types (articles & uploaded documents) and I want the users to be able to relate posts to each other and the relation should go both ways. Eg. if I relate “article 1” with “article 2” it should also be to see and manage that relation when viewing both “article 1” and “article 2”.

      Further I would also want to be able to relate articles with uploaded documents (again 2 way relationships), but don’t know if I should have 2 seperate fields or if I can manage that with only using one field.

      From what I have tried and seen in the documentation this can’t be done with the current post-relate field, am I right?

      I’ve seen some posts in the forum hinting that relationships in piklist will be updated, any idea of when this could be? (I do have access to the beta-version if that would be an option).

      My other option would be to use the posts-to-posts plugin I think, so appreciate your feedback.

      Thanks

    • #3486
      Steve
      Keymaster

      The Post Relate field should be able to handle this. Check out the ‘post_has‘ and ‘post_belongs‘ parameters.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.