• Resolved Travis Pflanz

    (@tpflanz)


    I’m looking to sync my GatherPress events into a Google Calendar using make.com (https://www.make.com/en/help/app/wordpress)

    As well, I’m looking to add Events to emails, social media posts, etc.

    However, it seems the event start and event end dates/times fields are not exposed and I can’t seem to figure it out.

    The fields are not in the default WordPress “Custom Fields” area in the “Add New Event” page

    When using the make.com WordPress connection to pull an event, those fields do not seem to be available via REST API.

    Will you please explain to me how to get these fields? I’m not much of a developer, but understand basic concepts.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author GatherPress

    (@gatherpress)

    Hi Travis,

    The start and end datetimes are stored in a separate custom table. It was done this way to scale GatherPress on larger sites with lots of data since meta data isn’t indexed in the database. We have discussed and are planning on including the datetimes as meta data as well for the reason you are running in to, but haven’t started that work yet. In the mean time, you may be able to leverage this API endpoint on your website.

    /wp-json/gatherpress/v1/event/events-list?event_list_type=upcoming&max_number=10

    event_list_type can be either upcoming or past. max_number is just the max number of events to return.

    I’m not sure this API endpoint has everything you need, but hopefully it helps. I’ll see if we can get the meta data work into 0.31.0. Thanks!

    Plugin Author GatherPress

    (@gatherpress)

    Hi Travis, 0.31.0 was just released and this data is now available to you in the WordPress REST API. Thanks and let us know if you have anymore questions or issues.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.