This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
I've a custom post type "accommodation". I've a field repetable group "room" taht is displayed in the accommodation page.
Each accommodation has a different author (accommodation manager role).
In mt WP backend I've add as administrator some rooms fro some accommodation.
The problem is that now I'm the author of this room and not the accommodation manager.
How can I set it?
It is expected result, Toolset repeatable group is actually a hidden custom post type, and you are using administrator to setup the "room" item in admin side, so the "room" item author will be setup as current user: administrator.
In your case, I suggest you try these: When you edit a single "accommodation", add/edit a room item(post), save the "accommodation" post, use WordPress action hook "save_post" to trigger a custom function, in this function update the room post's author as "accommodation" post author. For example: