Ok, here’s one that’s had me stumped for days, hoping someone knows how to do this:
I have multiple custom post types used for a job board. I’m dealing with a relationship between 2 custom post types JOB and TEAM MEMBER. Each job is assigned a team member which is called into a Select Box within a custom meta field in the JOB
What I need to do now is within my contact_form.php file which is in the SINGLE JOB template, query the TEAM MEMBER custom post type by TITLE (the persons name is the title) and retrieve a meta field called OWNER…
new wp_Query -> look in the custom post type ‘team’ for a post with the title of X team member and give me back the meta ‘owner’ for that post, then save it as a variable I can use outside this query
Any ideas or direction would be GREATLY appreciated!