Hello,
I am building a wordpress webiste with Avada (ThemeFusion Bulider). With ACF I have created two CPT: (learning) Pilars and Courses.
The CPTs have relationship fields (bi-directional relatinoship).
a) So far, when at the frontend I’m navigating to a specific Pilar post I’ve managed to display the related Courses. This is working fine.
What I want to do now is when I navigate to a specific Course post:
b) to display (a link to) the Pilar it belongs to. I’ve managed this!
c) to display (links to) Courses that belong to the same Pilar as this specific Course.
How can I do this?
Many thanks
Giorgos Nikolaidis
Larissa, Greece
I don’t know anything about Avada, all I can give you is a link to a general guide that explains how to get posts based on a relationship field.
https://www.advancedcustomfields.com/resources/querying-relationship-fields/