Anyone know how I can take a date entered via the datepicker and create an add to calendar text link with it?
Hi Wyclef,
I’m looking to do the same thing and then add that to custom a post loop and single post template.
Did you find a way to do this?
Thanks
Phil
You have to create a link to a file that generates a .ics file. This file can be used to import into someones calendar app.
The complete details of doing this are too extensive and there are too many variables and use cases to explain on this forum.
Yea, as it turned out, this concept is a lot more involved than you might think at first glance. I ended up moving on from this for the time being and will circle back another time.
Wyclef, if you’re still looking for some answers to this.. I’ve found this script that has gotten me about 90% there. The date works, just having a little trouble getting the time of day sorted out. It’s worth checking out.
https://gist.github.com/Jany-M/af50d5c4a0eec2692734d76383ed4dd8?permalink_comment_id=3159559