Forum Replies Created
-
AuthorPosts
-
journal multimedia
ParticipantAfter digging around a bit, I realized tribe_get_events doesn’t return all of the event information. For anyone else who stumbles across this, the functions archive is here https://theeventscalendar.com/functions/
For the recurrence pattern, you can just call tribe_get_recurrence_start_dates inside your loop:
$monthlyevents = tribe_get_events( array( 'eventDisplay' => 'custom', 'start_date' => '2016-02-01 00:00', 'end_date' => '2016-02-29 23:59' )); var_dump($monthlyevents); foreach($monthlyevents as $monthlyevent){ var_dump (tribe_get_recurrence_start_dates($monthlyevent->ID)); }September 22, 2015 at 7:29 am in reply to: Login Page Template for Community Events – Followup #1007489journal multimedia
ParticipantYes this is on the /events/community/add url.
When I said, “and neither seems to load before the call to wp_login_form()”, I’m referring to that function being called by the plugin to load the default login form. I’d like to execute code before it gets called so that I can display a custom login page (as suggested in the previous thread.
I tried adding a conditional statement that checks if the user is logged in to the beginning of the templates event-list.php and edit-event.php, but wp_login_form() still appears to be loading before the conditional statements load.
I guess my real question is, how can I set up something like Brian suggested in the previous thread?
Also, you said “We don’t offer any support for custom code on the forums”. Is there another support channel that I have access to as a part of purchasing Events Calendar Pro & Community Events?
Thanks,
Joejournal multimedia
ParticipantThat makes sense. I’ll give that a try. Thanks for following up.
-
This reply was modified 10 years, 6 months ago by
journal multimedia.
-
This reply was modified 10 years, 6 months ago by
-
AuthorPosts
