Forum Replies Created
-
AuthorPosts
-
March 11, 2016 at 12:54 pm in reply to: How to get custom meta field from a recurring event? #1087927
Erick
ParticipantI tested it out some more with event posts I made myself – yep, you are right! The meta field values do get saved to all events in a recurring series. Even the ACF fields work.
This whole thing must have started because the recurring events weren’t set up properly to begin with, which is our fault. Sorry about the headache!
March 11, 2016 at 10:59 am in reply to: How to get custom meta field from a recurring event? #1087851Erick
ParticipantNo worries about the screenshot, actually I couldn’t give you a login if I wanted to because we only have the site on a local MAMP server at the moment. http://i.imgur.com/2xu2iGx.png
And I need to update you on something I discovered too, in that the guy who was creating these events may not have used the “recurring” feature on one post. I think he may have set up individual event posts and manually incremented the start date on each one, which would totally explain why “Edit All” wasn’t working like I thought it should.
I created some new events that I know are using the recurring feature properly, so I am going to test a few more things out as far as the meta fields are concerned.
March 10, 2016 at 11:39 am in reply to: How to get custom meta field from a recurring event? #1087351Erick
ParticipantOK, so the “Edit All” feature doesn’t do custom meta fields. Does this carry over to the custom fields that the Events Calendar plugin itself provides? Instead of using ACF, I recreated the custom fields using the “Additional Fields” tab from the plugin’s settings. However, these seems to have the same problem in that “Edit All” doesn’t necessarily mean “Edit All” and the custom fields don’t update on the entire series of events.
Which fields can be updated via “Edit All”?
BTW, I should mention that I couldn’t find any documentation on how to pull the values for the custom meta fields created by the plugin. Like what the field name would be so I can run get_post_meta(). I only discovered the “_ep_custom_X” naming convention for these fields by looking through the postmeta table.
Erick
ParticipantWow, thanks for the fast reply!
You know, now that I look through more of the instances, some of them have a value and some don’t. Actually on the third one I checked, a notification appeared at the top that “Recurring event data is still being generated for this event. Don’t worry, you can safely navigate away – the process will resume in a bit in the background.”
I guess it’s going through the future two year’s worth of instances still? Does that process hook into a WP cron? How long should this process take?
-
AuthorPosts
