Display custom post title as field in another custom post
-
I have two custom posts types, one called ‘Projects’ and another called ‘Tasks’.
I would like the ‘Project CPT Title’ to appear inside the ‘Tasks CPT’ as a selectable field. So to effectively assign the task to a particular project.
I would then like to be able to display project-related task(s) post on the project page if the task is the same as the project.
Any ideas on how to do this please, I am having trouble getting the relationship to query dynamically. I can see the Projects list as a field within the Tasks CPT, but I can’t get the Projects title to show up.
- The topic ‘Display custom post title as field in another custom post’ is closed to new replies.