I have this code:
{% set args = { post_type: 'bepakking', posts_per_page: -1, tax_query: [{
'taxonomy': 'Rubriek',
'field': 'slug',
'terms': 'kleding'
}]} %}
{% set posts = mb.get_posts( args ) %}
Aantal stuks: {{ posts|length }}
{% for post in posts %}
<li>
{{ post.title }}
</li>
{% endfor %}
It displays all the post in the CPT. Some posts has a relation to another post (other CPT). How can I display a link to that post when there is a relation?