THanks Long,
Much appreciated.
To be honest I can achieve exactly what I need in views, but I don't know how to add if statement that checks if there are any items in the loop.
E.g. if there are no related posts the don't display the "Related posts" text and the ul
I know I am probably 2 lines away from this, but I can't figure it out (I tried some things but failed).
Would you mind showing me the snippet? With this it is the last thing I could not achieve with ACF / Themer Integration.
{% set relationship = attribute( relationships, 'test-rel' ) %}
Related posts
<ul>
{% for post in relationship.to %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
Thanks in advance!
Paul