jodaem
Forum Replies Created
-
Hi Thanks – I have tried this as well as testing timezone settings etc. All of this seems correct but the events do no expire correctly. I believe that this is only occurring on recurring events…
yes – see my post above…
They are not recurring – I have resolved this using:
[events_list scope=”2015-09-29″]
where the scope date is derived from the URL
and then updating the formatting for event listings in the admin to match what was being written for my primary [events_list_grouped setup.Forum: Themes and Templates
In reply to: what is => s:21:"a:1:{i:0;s:4:"2276";}";Sorry I’m not sure about the option reference. I can give you a bit more detail however.
I am using a plugin called Event Manager and it produces an array of information. part of which is a post object reference created by a related Advanced Custom Fields setup with the custom post type of “location”. Normally ACF Post Objects are directly accessible via the output array. However with EM the array is put into the format originally posted.
Forum: Themes and Templates
In reply to: what is => s:21:"a:1:{i:0;s:4:"2276";}";thanks, in my case:
$post->event_attributes[‘location’] = s:21:”a:1:{i:0;s:4:”2276″;}”;so when I wrap this in two unserialize functions;
$array = unserialize(unserialize($post->event_attributes[‘location’]))I can echo $array[0]; to get the ID i needed.
Does this seem like a good method or is there a cleaner way to extract this data?