Loop through posts of a custom-post-type (event) and create .ics (iCal) file?
I really need your help with a feature I have never worked with so far. I have a custom-post-type named wr_event. And I created this custom WP_Query to retrieve all posts for this post-type that are “younger” than yesterday. Fairly simple and this works like a charm. function event_list_iCal() { $yesterday = time() – 24*60*60; … Read more