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

groundcontact

Member
  • Content Count

    18
  • Joined

  • Last visited

  1. Go to settings > advanced > Code Injection and in the Header section write the specific link from Google Developers Hosted Libraries: https://developers.google.com/speed/libraries/
  2. I’ve come up with a much better option. This replaces all the different values (at least the ones I’m aware of) in your language. The example is in Spanish, but you can change it for any other values. Put this code in your code injection area (Footer) and link to jQuery. That’s all you need. Hope it helps. <script> function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } addLoadEvent(function() { $('.caption').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/First Name/ig, "Nombre")); } }); $('.caption').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/Last Name/ig, "Apellidos")); } }); $('.pagination').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/Newer/ig, "Más recientes")); } }); $('.pagination').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/Older/ig, "Más antiguas")); } }); $('.tags-cats').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/tags/ig, "etiquetas")); } }); $('.excerpt').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/Read More/ig, "Leer más")); } }); $('.sqs-comment-link.sqs-disqus-comment-link').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/Comment/ig, "Comentario")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/January/ig, "Enero")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/February/ig, "Febrero")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/March/ig, "Marzo")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/April/ig, "Abril")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/May/ig, "Mayo")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/June/ig, "Junio")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/July/ig, "Julio")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/August/ig, "Agosto")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/September/ig, "Septiembre")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/October/ig, "Octubre")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/November/ig, "Noviembre")); } }); $('.post-meta.author-date').each(function(i, el) { if($(el).html() != "" ) { $(el).html($(el).html().replace(/December/ig, "Diciembre")); } }); $('.icon-comments').attr('title', 'Comentarios'); $('.icon-share').attr('title', 'Compartir'); $('.search-input.hover-effect').attr('placeholder', 'Buscar'); }); </script>
  3. I don't know why I was unable to put all the code lines in the answer formatted as code, so half of the lines look like plain text, and the rest like code...sorry for that. Glad it worked for you. It took me a very long time to figure out :)
  4. I’m not a developer, but this works for me. You need to inject code, though: Go to the page where your form is located. Open the Settings. Click the Advanced tab. Place the following code in the Page Header Code Injection area: <script>function addLoadEvent(func) { var oldonload = window.onload;if (typeof window.onload != 'function') {window.onload = func;} else {window.onload = function() { if (oldonload) { oldonload(); } func();}}} addLoadEvent(function() {sqsFirstName = document.getElementsByClassName("caption")[0].innerHTML;myFirstName = sqsFirstName.replace("First Name", "Nombre");document.getElementsByClassName("caption")[0].innerHTML = myFirstName; sqsLastName = document.getElementsByClassName("caption")[1].innerHTML;myLastName = sqsLastName.replace("Last Name", "Apellidos");document.getElementsByClassName("caption")[1].innerHTML = myLastName;});</script> Notes: You need to replace YOURTAGFORFIRSTNAME and YOURTAGFORLASTNAME with your own text. Since the script will only run “after” the page has been loaded, there will be a short period of time when you will be able to see the old tags, but they will be replaced immediately with the new ones. Hope this saves time to other people. It’s been a nightmare. Cheers.
×
×
  • Create New...