Thanks for replying its a difficult one, I recently changed it to custom post types and then like you said changed the repeater to be a post object, but even now im still struggling on how to do the appropiate SQL query because the current logged in user is assigned the company (which is a post type now) and a agent (another post type) but i need to display the companies details: logo, email address, telephone number and also the agents details (skype, email address, phone number, linkedin and a personal message) which should be personal to that user.
I have looked at the database and it appears to be a difficult SQL query, I have no idea where to start.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.