Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Events: How to edit "Google Calendar" and "ICS" text


therealmiguel

Question

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

image.thumb.png.68c8515021f44a6e4475c08ca9565dfb.pngto

Link to post
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

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> jQuer

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($)

Posted Images

5 answers to this question

Recommended Posts

  • 0

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>

 

Link to post
  • 0

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 by tuanphan
typo
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...