Hiya, I think I am getting some of the way there. Jumping in to your step-by-step, you say:
> To display speakers in an event, load the ‘eventtospeakers’ of an event and then, load the speaker of an eventtospeaker.
Should this View _just_ load Event to Speaker? Here is what the View looks like as I have done it:
Event to Speaker, ordered by post date, descending
Select related posts that are a child of the post where this View is inserted
> So, create a new view that lists all speakers for the eventtospeaker set by post where this View is inserted. Add fields for the speaker here.
You say 'Add fields for the speaker here' - so I add a couple of fields associated with the Speaker type. I add:
- Basic - title (which will give the system-generated title of the Event to Speaker linking post)
- Speaker details (artist website field) (several of the linked speaker records have data in this URL field)
At this point, if I just load the new view (called 'test') in to my View template, using [wpv-view name="test"], it spits out the post names of my linking posts (in the form post new_1042282573 post new_804935745 post new_2122348972), but no other fields. It IS displaying the correct IDs, though, so that's a good start.
> Next, in your event view template, add this shortcode:
> [wpv-view name="name of view created" id="$eventtospeaker"]
So now I add the extra paremeter to the shortcode - [wpv-view name="test" id="$eventtospeaker"] - and all my post IDs disappear 🙁
The problem here seems to be making the jump from the linking post ID to the speaker details i.e. the "load the speaker of an eventtospeaker" bit...
Thanks for your patience!
Simon