Will Multilingualizer work in Squarespace Advanced Page Header Code Injection Meta Data?

Questions & AnswersCategory: QuestionsWill Multilingualizer work in Squarespace Advanced Page Header Code Injection Meta Data?
theresa asked 3 months ago
theresa replied 7 days ago

I did not see your reply until now but had found similar code. I am using this:

Y.on(“domready”, function () {
Y.all(“.summary-read-more-link”).each(function (link) {
link.setContent(“….READ MORE..了解更多..LEE MAS…. →”);
});
});

Sander replied 4 weeks ago

Y.on(‘domready’, function(){
if(Y.all(‘.summary-read-more-link’)){
var newNextLink = Y.one(‘.summary-read-more-link’).getHTML().replace(‘Read More’, ‘ …. Lees Meer → .. Read More …. ‘);
Y.all(‘.summary-read-more-link’).setHTML(newNextLink);
}
});

Sander replied 4 weeks ago

Hi, I just started working with the Multilingualizer tool on Squarespace. I had found a code to edit the “Read More->” text in Blog summary.
I edited it to
…. Read More .. Lees Meer ….
and it worked.