Support

Account

Home Forums General Issues Looping other cpt posts with the same relationship selected. Reply To: Looping other cpt posts with the same relationship selected.

  • You need to use the ID of the related post (the project) in your query instead of the ID of the current post (the session). get_the_ID() is returning the ID of the current post.