Custom Fields
Re-Envisioned
Support MB Relationships Do I need Relationships for Events & Reviews?

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 6 months, 4 weeks ago.

  • Creator
    Topic
  • #13467

    Nick
    Participant

    I’m trying to figure out if I even need Relationships with my set up, and if not, what the best approach would be.

    On my site, I have an Events CPT. Each Event can have many Reviews. I’ve set up Reviews as a CPT as well. Each CPT has a set of custom fields. Those custom fields can be filled out using front end form, then are displayed using Beaver Themer.

    On each Event page, I’d like to display some information from the associated Review (review title, date submitted). To make this a little more complex, Reviews have a few Range fields. Ideally, I’d be able to display these Range values (as star ratings) alongside the title and date on the Event page. Even more ideally, I’d be able to take an average of all Reviews for an Event and display that on the Event page.

    Do I need Relationships for this scenario or is there a better/simpler set up?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #13473

    Anh Tran
    Keymaster

    Hi Nick,

    In this situation, you definitely need way to connect reviews to an event. And that’s a relationship between Event and Review. So, using MB Relationship is a perfect in this case.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.