Display Custom Error Message When ICS URL Is Unavailable (404 Error)
-
Hi,
I’m using the
[ics_calendar]
shortcode on my WordPress site, and I’d like to know if there is a way to display a custom error message when the ICS file URL passed in the shortcode cannot be reached (for example, if the URL returns a 404 error or is missing).Instead of the default behavior, I would like to display a simple message like “No dates available” if the URL is invalid or inaccessible.
Is there a way to implement this using the plugin’s current features, or would it require a custom solution? Any guidance or suggestions would be greatly appreciated.
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Display Custom Error Message When ICS URL Is Unavailable (404 Error)’ is closed to new replies.