Problem: I have a custom post type called Companies with a repeating field group (RFG) called Company Locations. One of the fields in that RFG is an address field. On the Companies WordPress Archive page, I would like to show a Map with Markers for of all the Company Location posts. I would like to filter the Companies archive by a field in the RFG, and I would like to show a custom field from the parent Company in the marker popup.
Solution: It's not currently possible to filter a View of a CPT by fields on its RFGs.
To access custom fields from the Company post in a View of the RFG, use the item attribute in the shortcode with the syntax "@relationship-slug.parent".
[types field='company-logo' title='[wpv-post-title]' alt='[wpv-post-title] Logo' size='custom' height='100px' width='100px' resize='proportional' firstname.lastname@example.org'][/types]
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.