Forum Replies Created
-
AuthorPosts
-
Susanne Thiede BarnetParticipant
Maybe this is due to the fact that somewhere in the callstack the property ‘upcoming’ is getting flagged and then returning todays date?
Susanne Thiede BarnetParticipantI’m having the same problem with this. I’m letting the user choose a date ranger with the jQuery UI datepicker. Printing out all the values, they all look good. It just seems like how the tribe class parses the date, it automatically overrides it and puts in the current date.
April 16, 2012 at 1:57 pm in reply to: Getting custom fields for The Events Calender Class, not just one post. #17952Susanne Thiede BarnetParticipantLooks like all I was looking for was:
$customFields = tribe_get_option(‘custom-fields’, false);Thanks for the help! You can mark this discussion as solved.
April 12, 2012 at 8:27 am in reply to: Getting custom fields for The Events Calender Class, not just one post. #17851Susanne Thiede BarnetParticipantIt appears that the function tribe_get_custom_fields() just gets the custom fields for one post. What I need is to get all the possible custom fields that are set up, so that the user can use radio buttons and checkboxes to sort the results by the custom fields they possess. Theoretically, I could use php or javascript to loop through all the events and get a list of all unique custom fields, but there’s gotta be a way to just pull the information from the database somewhere. After poking around around in the database, there didn’t seem to be a way to extract this in any legitimate, semantic way. Maybe using the Tribe Events API?
-
AuthorPosts