This one is super simple and a perfect way to return your users to their previous page.
We believe this one is best suited for breadcrumbs, when you want to have a return link that actually returns users to the last page.
1. Create link with class name .return
Firstly you will want to add a link block or text link and give it the class name (.return). This is what will communicate with the script below.
2. Add custom code
You can add this code in either in your page or site settings. We recommend putting this in page settings, if we plan to use this in multiple places.
<script>
$(document).ready(function() {
$(".return").click(function() {
window.history.back();
});
});
</script>