No, It’s not a weird loop, it’s just after the regular loop.
I’m thinking of an other way to solve my problem.
I can revert the system, and have the post in a relation ship field in the expertises custom post instead. Then I just need to call the get_field(‘related_post’) and i will have my array of id’s.
It will be simpler, and maybe even more logic for the redactors.
I’m going to grab some food then get back to it.
I will tell you how it went. Thanks for the help, I really appreciate it.