Skip Navigation

[Resolved] Generating an ics link from a custom type

This thread is resolved. Here is a description of the problem and solution.

Problem:

I have a custom event data type that I've built, and I'd like to make an .ics calendar link on the page to allow people to add the event to the page.

Solution:

There isn't such kind of feature within Toolset plugin, it is a custom codes problem, which is out the range of Toolset support

Relevant Documentation:

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 3 voices.

Last updated by davidN-5 5 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1124056

Tell us what you are trying to do?
I have a custom event data type that I've built, and I'd like to make an .ics calendar link on the page to allow people to add the event to the page.

Is there any documentation that you are following?
I'm trying to use this, but I'm getting an error trying to make it work on the template page: hidden link
Ideally, I feel like this could be a shortcode for the template, but I'm missing something.

What is the link to your site?
hidden link

#1124350

Hello,

There isn't such kind of feature within Toolset plugin, it is a custom codes problem, which is out the range of Toolset support
https://toolset.com/toolset-support-policy/

You can consider our Toolset Contractors:
https://toolset.com/contractors/

And in Toolset side, you can setup a custom date field, and display the date value with Types function types_render_field():
https://toolset.com/documentation/customizing-sites-using-php/functions/#date

If you are going to using custom shortcode, you can try with wordpress function add_shortcode():
https://codex.wordpress.org/Function_Reference/add_shortcode

#1129404

My issue is resolved now. Thank you!

#1572405

@christopherm-4 Hello, I'm looking to do the same thing. How did you resolve it?

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.