Hi @tuanphan you are the resident genius on this subject of changing 'back to x' hyperlinks so I'm wondering if you could help me... I used the above script that you gave Tony and changed it for our link text and URL; the link is going to the right place now but the displayed text in the link isn't changing - what am I doing wrong?
I want to change the blue "back to bailongo 2023 products" at the top to just "Back". This is what I put in the footer:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('div#productNav a').attr('href','https://www.bailongomontreal.com/test-shop');
$("div#productNav a").html(function() {
return $(this).html().replace("back to bailongo 2023 products", "Back");
});
});
</script>
Thank you in advance.