Hello,
Thanks for the details, I can login your website.
I assume we are talking about the custom relationship field "Evenemang":
hidden link
And the post type relationship "Evenemangets tävlingar":
hidden link
As I mentioned in your previous thread:
https://toolset.com/forums/topic/help-with-database-model-for-relationships-and-possible-intermediary-post-type/
The "post reference field" is similar as one-to-many relationship, it will create another independent one-to-many relationship between post type "Events" and "Races", and it display only when you edit a single child "Race" post, for example:
hidden link
field "Evenemang*"
Since it works like a custom field, so it does not display when you edit a single parent "Event" post, for example:
hidden link
There isn't field "Evenemang*"
And for the questions:
do I always have to BOTH add the relationship AND the post reference field?
I suggest you choose only one of them ("post reference field" or "Post type relationship"), for example, when you edit a single parent "Event" post, if you don't need to setup it's child "Races" posts, then choose "post reference field", otherwise chose "Post type relationship".
For example, if you choose "Post type relationship" optin, and use the post type relationship "Evenemangets tävlingar", in a single "Event" post, you can display the related "Race" posts by a post view "Lista tävlingar för evenemang 2":
hidden link
query posts of post type "Race", filter by:
- Select posts in a Evenemangets tävlingar relationship that are related to the Post where this View is shown.
- Select items with field:
Startdatum is a number greater than or equal TODAY()
In the loop, display the "Race" information
Put above post view into a single "Event" post content
hidden link:
<hr />Related Race posts:
[wpv-view name="lista-tavlingar-for-evenemang-2"]
<hr />
See the result here:
hidden link
See screenshot races.JPG
It works fine, and display the related two "Race" posts correctly, please test it.
And the your previous post view "Lista tävlingar för evenemang" does not work as expected, I suggest you use the new post view "Lista tävlingar för evenemang 2" to replace it. If you need assistance for it, new ticket please.