Plugin Author
gamaup
(@gamaup)
Hi,
Thanks for the detailed explanation. That helps a lot.
In this case, Blocks for ACF Fields is not able to handle this setup. The plugin can only display ACF field values from the current WordPress context (the post, page, or template being rendered). It does not support switching the field source dynamically based on a URL parameter such as ?id=123.
However, there is an alternative approach that works well and is fully supported.
You can add an ACF Post Object field to your Event post type and use it to select the detailed post. This creates an explicit relationship between the event and its detailed page.
Then, on the event detail layout, you can:
- Insert the ACF Field block
- Select the Post Object field and set the display type to List (this will create a post loop)
- Inside the loop, insert another block to load the post content
This setup will display the selected detailed post directly inside the Event layout, allowing each event to control which detailed content is shown. Please note that displaying Post Object fields as a List is available in the PRO version of this plugin.
I hope this helps, and let me know if you have any questions about setting this up.
Thread Starter
bokibe
(@bokibe)
Thank you very much for your quick and detailed answer 🙏🏼.
I will try this setup soon and probably I will have some more question.
👍🏼