Hello,
I need to figure out how to display all events from a specific day. It seems like tribe_get_events would be the way to go, something like:
$get_posts = tribe_get_events(array(‘posts_per_page’=>10, ‘date’=>21-10-2012) );
I’m a PHP n00b, so I’m sure the formatting is wrong, but am I on the right track?
Thanks,
Damian
Something like this should work for you: https://gist.github.com/3148810 – you’ll probably want to adjust the HTML but this query will only query events for today 🙂
Hi Jonah,
Thanks for the quick reply.
Will this allow me to pull events from a specific date in the future? I’m shooting for Oct. 21, 2012 specifically.
To be more specific, I am creating a custom grid view where each day square loads all events from that day, color-coded by category.
Thanks!
Damian
Hi again,
I solved my own problem by entering the date in the future in question here:
$CurrentDate = date(‘2012-10-21’);
You can close this thread. Thanks again for the help!
Damian