Forum Replies Created
-
AuthorPosts
-
November 3, 2017 at 6:17 pm in reply to: REST API parameter format for start_date and end_date #1375104
Shaun
ParticipantNo need for a screenshot, it’s a question of how spaces should be handled
in the URL for a rest endpoint.A standard space is not a valid character for a REST URL, so what character
should be used in place of the space in “2019-11-02 18:28:47”?Shaun
ParticipantIf only my timing was this on point all of the time 🙂
Thanks!
Shaun
ParticipantGotcha. I found out where the link was.
Is there anyway to show all events in a category, regardless of their event status?
I tried doing a custom query but it didn’t seem to work…that custom query is below. I’m not sure if this would work or not, but any advice?
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $upcoming = new WP_Query(); $args = array( 'post_type'=> 'tribe_events', 'paged' => $paged, 'eventDisplay' => array('past','upcoming'), ); $upcoming->query( $args );Shaun
ParticipantThanks, I will add that there!
While I have your ear, is it possible to setup an archive list of past events by year, similar to wp_get_archives?
Shaun
ParticipantThis works great! Thanks
Shaun
ParticipantThanks, this worked perfectly!
Shaun
ParticipantThanks!!
Shaun
ParticipantI am looking to do something similar too. The documentation online and in the single-event.php are great at explaining how it works, but not how to do it.
How can we add additional data to be generated in json? I assume tribe_events_template_data() comes into play…but where can we add new strings? In functions.php?
Shaun
ParticipantThanks Jonah, will do.
Shaun
ParticipantIs there an estimated time on this? I have a major launch planned for this weekend, and I would prefer this working for the client prior to then? Please let me know what the plan is.
-
AuthorPosts
