In terms of relationships, Events can have Sessions and/or Speakers. And Sessions can have Speakers.
I want to be able to display links to events that speakers have spoken at on each speaker's profile page, but so far I am only able to display events where the speaker was added directly to the event.
I am not able to get links to events where the speaker was added to a session and then the session was added to an event.
I have tried every possible combination of post field relationship I know of - e.g.,
But, no matter what, I can't seem to get events to show up on a speaker's page if the speaker was added to a session (and then the session was added to the event).
I feel like I must be missing something obvious and have been staring at this for so long now that I am blind to it.
So, considering the following relationship:
- State
-- City
--- Employee
Create new content template and add the fields to it - the top level (Where you should replace the "state-city"relationship slug) with your Event-Session post relationship slug:
[wpv-post-link item="@state-city.parent"]
Then when you add content template - add the item attribute to content template using the (where you replace the "city-employee" relationsihp slug with Session-Speaker relationship slug.):
I gave it a try on a Discover WP installation and failed a bunch more times before looking more closely at the item attributes in your example above (as well as in the post you linked to).
I realized one of the ones I was trying to use was incorrect, so I added the correct one and, after playing around with the filters for a bit, it's now working as it should.