Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set args = { post_type: 'alternative' } %}
- {% set alternatives = mb.get_posts ( args ) %}
- {% for alternative in alternatives %}
- {# {{ alternative.post_title }} #}
- {% set software_args = { post_type: 'software', relationship: {id: 'software-cpt-and-software-alternatives-cpt', to: alternative.ID} } %}
- {% set softwares = mb.get_posts ( software_args ) %}
- {% for software in softwares %}
- {# {{ software.post_title }} #}
- {% set software_reciprocal_args = { post_type: 'software', relationship: {id: 'software-cpt-reciprocal-relationship', to:software.ID} } %}
- {% set software_reciprocals = mb.get_posts ( software_reciprocal_args ) %}
- {% for software_reciprocal in software_reciprocals %}
- {{ software.post_title }}
- {% endfor %}
- {% endfor %}
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement