This is the setup i have:
MetaBox + Bricks Builder
Post type A: Event
Post type B: Hotel
A. Event custom fields (among others)
Hotel (group, cloneable) :
- Hotel Name (post advanced select)
- Rooms (number)
B. Hotel custom fields (among others)
Hotel geolocation (group)
-City
-Website
Hotel other info (group)
-Star rating
-Capacity
I want to now display an event page where in the hotels section i can show every hotel associated with that event:
Hotel 1 name, hotel 1 star rating, hotel 1 capacity, rooms, hotel 1 city, hotel 1 website
Hotel 2 name, hotel 2 star rating, hotel 2 capacity, rooms, hotel 2 city, hotel 2 website
Hotel 3 name, hotel 3 star rating, hotel 3 capacity, rooms, hotel 3 city, hotel 3 website
…and so on
At the moment through the Bricks query i can only display the hotel name and the rooms. I can’t seem to go deeper into the hotel name and get it’s custom fields.
Do you see any solution? Maybe a particular way of defining/writing the query in Bricks or via Metabox Views ?
Screenshots of the fields setup:
https://ibb.co/1sjWjrR
https://ibb.co/hFGMpYK
https://ibb.co/TrcXYHG