fbpx
Skip to content
Questions & AnswersCategory: QuestionsWill Multilingualizer work in Squarespace Advanced Page Header Code Injection Meta Data?
theresa asked 6 years ago
Sander replied 6 years 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.

Sander replied 6 years 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);
}
});

theresa replied 6 years 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…. →”);
});
});

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.