[Gelöst] RFG frontend edit: need help to show a title
This support ticket is created vor 1 Jahr, 5 Monate. There's a good chance that you are reading advice that it now obsolete.
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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Hello,
we built a frontend page where our customer can list and edit Repeatable Fields Group.
In this page we show the main page title with [wpv-post-link item="[wpv-search-term param='wpv-relationship-filter']"]:
This is working well, so we get the post title (the room name) of the CPT ROOM.
This CPT has a relationship with the CPT HOTEL, so a single hotel can have more than 1 rooms and every room is owned by just one hotel.
What we need is print the hotel name, so we will have: HOTEL NAME > ROOM NAME.
Is this possible?
Thanks a lot!
Just as you're passing the ID of the parent "Room" post in the URL attribute "wpv-relationship-filter", you can also include the ID of the grandparent "Hotel" post in the URL attribute "hotel-id".
The updated link for the edit RFG page will look like this: