ACF Relationship Field & TEC Events Post Type
-
Hello all,
Main issue: It appears that The Events Calendar modifies the database queries when ACF tries to load events using the Relationship field.
I have set up an ACF relationship field which should allow me to select events to feature on my homepage using Beaver Builder. However, when I select events and click Update, the posts are disappear from the selected column (please see video here).
I just so happen to also create a custom feed using the posts selected (I call it featured events). In the video, you can see the selected posts are successfully registered, but they are not visible in the ACF Relationship field.
The second issue: The ACF Relationship items do not load in the Beaver Builder post module.
The key for my ACF Relationship is featured_events. When I use this key to set the content in my Beaver Builder post module, nothing loads.
Findings: When I change the post type in the ACF Relationship settings (aka change the relationship to load Posts instead of Events) everything works as expected. I.e. posts are listed in the selected column of the relationship field, and they load successfully in the Beaver Builder module. This means there is definitely a conflict with The Events Calendar because Events are the only post type that does not work.
I have already reached out to ACF regarding this issue. After they replicated it on their end and verified there is a conflict between ACF and TEC, they suggested reaching out to TEC as it will need to be code changes their end to fix. I am using the most up-to-date versions of TEC (5.12.3), Beaver Builder Theme – I’m using the child theme (1.7.10), Beaver Builder (2.5.1.1), and ACF Pro (5.11.4). There are no console errors or theme overrides. Any help or assistance would be greatly appreciated.
Thank you in advance!
- The topic ‘ACF Relationship Field & TEC Events Post Type’ is closed to new replies.