Susanne Thiede Barnet

Forum Replies Created

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • in reply to: Problem with start_date in tribe_get_events in 2.0.4 #18759

    Maybe this is due to the fact that somewhere in the callstack the property ‘upcoming’ is getting flagged and then returning todays date?

    in reply to: Problem with start_date in tribe_get_events in 2.0.4 #18749

    I’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.

    Looks 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.

    It 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?

Viewing 4 posts - 16 through 19 (of 19 total)