therealmiguel Posted July 4, 2020 Share Posted July 4, 2020 Site URL: https://miguelmateas.com/gigs Hello to all of you lovely people! Does any of you know how to edit the text for these "add to calendar" links? I'd like them to just say "Add to Google calendar" and "Add to Apple calendar". I've tried to locate this with my rudimentary coding skills but I've failed miserably. Thank you in advance! 🙏🏽 Miguel to Link to comment
tuanphan Posted July 5, 2020 Share Posted July 5, 2020 Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> jQuery(function($){ $(".eventlist-meta-export-google").html(function() { return $(this).html().replace("Google Calendar", "Tuan calendar"); }); $(".eventlist-meta-export-ical").html(function() { return $(this).html().replace("ICS", "Tuan ICS"); }); }); </script> therealmiguel 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
therealmiguel Posted July 5, 2020 Author Share Posted July 5, 2020 Hey @tuanphan, thank you as always! The code doesn't seem to be working. https://miguelmateas.com/gigs/dr-jenna-macciochi-mental-health-and-healthy-immunity Link to comment
tuanphan Posted July 5, 2020 Share Posted July 5, 2020 (edited) With event detail + event list page, use this code instead <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> jQuery(function($){ $(".eventlist-meta-export-google, .eventitem-meta-export-google").html(function() { return $(this).html().replace("Google Calendar", "Tuan calendar"); }); $(".eventlist-meta-export-ical, .eventitem-meta-export-ical").html(function() { return $(this).html().replace("ICS", "Tuan ICS"); }); }); </script> Edited July 5, 2020 by tuanphan typo therealmiguel 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
therealmiguel Posted July 5, 2020 Author Share Posted July 5, 2020 Amazing! Thank you so much again!!! All working perfectly. Have a great Sunday! 🙏🏽 Link to comment
Sarah-W Posted October 12, 2020 Share Posted October 12, 2020 Thank you Tuan, this helped me too. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment