I just realised that all I had to do was remove the following bit of code. That's done. Thank you so much.
echo "<pre>";
print_r($related_locations);
If it's possible, could you also take a look at the rest of my message? There were the following 2 points:
I can't seem to load the content of the related post. File: parts/course-location.php
I also need to display another related CPT (Learning Partners). In this case however I will have one Learning partner that has the Custom Category "Awarding Body" and another "Accreditation". I was going to call these separately. File: parts/course-accreditaion.php and parts/course-awarding-body.php
Hello. Thank you for contacting the Toolset support.
- I can't seem to load the content of the related post. File: parts/course-location.php
==> Well - when you say content - what content you want to display, I mean what field/content you want to display exactly at what section?
Please share all details information with access details.
I have set the next reply to private which means only you and I have access to it.
You're absolutely right. I need this for another CPT, but for now I added the Editor back into locations. I'm sorry for the mixup. I want to display the content from the WordPress editor for the related post (Location).