Home › Forums › Calendar Products › Events Calendar PRO › Add to Event(s) Loop on Single Organizers Page, Based on ACF Relationship Field
- This topic has 5 replies, 2 voices, and was last updated 8 years, 3 months ago by
Steven Frasier.
-
AuthorPosts
-
December 19, 2017 at 1:11 pm #1409124
Steven Frasier
ParticipantI have successfully created a second “Organizers” meta section, which uses an Advanced Custom Fields relationship field to pull from the same Organizers custom post type. The two meta sections are output on the front-end of the single event pages under “Speakers” and “Organizers” accordingly.
However, only if the individual is selected under the native Organizers meta section will the event be added to that organizer/speaker’s upcoming events loop.
Is there a way to call all related instances of the ACF relationship field into the tribe_events_loop as well?
Would that best be achieved by customizing the tribe_organizer_upcoming_events function (found in /fuctions/template-tags/general)? Or, I’m wondering if there is an area within single-organizer.php I could call the ACF field?
If anyone could point me in the right direction, it would be tremendously appreciated.
December 21, 2017 at 6:04 am #1410759Jaime Marchwinski
KeymasterHi Steven,
Thanks so much for reaching out!
It seems like you’ve been making progress with your custom integration, which is great!
Just to let you know, we are limited by our Support Policy in how much we can help with customizations.
If this functionality is a requirement for your intended project, I’d suggest that a third-party developer would be the best way to make this feature happen on a short timeline. ? We maintain a list of developers who work with our plugins on our Knowledgebase here:
https://theeventscalendar.com/knowledgebase/find-a-customizer/
Let me know how it goes!
Thanks,
Jaime
December 21, 2017 at 6:52 am #1410812Steven Frasier
ParticipantThanks Jaime — totally understandable.
I believe I can figure it out if I know where to focus. In terms of the single organizer page events loop, could you just tell me whether I’d be best served working on:
1) tribe_organizer_upcoming_events function (Line 812: /pro/src/fuctions/template-tags/general)
or
2) The single-organizer.php template file
December 22, 2017 at 9:00 am #1411786Jaime Marchwinski
KeymasterHi Steven,
In that case, I think the best place to start would be the single-organizer.php template file.
Let me know how it goes!
Thanks,
Jaime
January 13, 2018 at 8:35 am #1425523Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Add to Event(s) Loop on Single Organizers Page, Based on ACF Relationship Field’ is closed to new replies.
