So I'm trying to achieve this:
I've created custom post types and there is one custom post type where I want variable sections in. That post type is "workarea". There are four posts (main pages) for that custom post type.
At the bottom of those pages, there is a related posts section.
Each of those, should show different related posts. But, I use the "single-workarea.php" as the custom post type template. So there is no way of (at least that I know of) to create a loop that shows the different related posts, that should be displayed per page.
If I edit that loop, it applies to (obviously) all pages from the custom post type "workarea".
Is there a way to create a variable/custom section in that post type php file?
A solution is that I remove that post type, and just create pages with template names, such as "workarea", but the problem with that is, is whenever my customer wants to add a new post type "workarea", he has to come to me so I can create a new php file.
I hope I made a clear explanation.
Thank you in advance!