Created
April 9, 2018 22:27
-
-
Save rafaehlers/1a1ec32f557ee0d2cd2b1c5f93a7b707 to your computer and use it in GitHub Desktop.
Useful to redirect from the Single Entry page to the Multiple Entries page while keeping the search query parameters.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
(function($){ | |
$(document).ready(function(){ | |
$("p.gv-back-link a").attr("href", "javascript:history.back()"); | |
}); | |
})(window.jQuery); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should be added to the footer.php file inside your current theme's folder, right after the call to the wp_footer() function.