Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Pavracer/181b568ef456eb8fc0ca87434e1aab73 to your computer and use it in GitHub Desktop.
Save Pavracer/181b568ef456eb8fc0ca87434e1aab73 to your computer and use it in GitHub Desktop.
Results for text change and remove quotes.js
<script>
(function($) {
$(document).ready(function() {
let txt = $(".cu-search .et_pb_text_inner");
txt.text(txt.text().replace("Results for", "new-text").replace(/"/g,''));
});
})(jQuery);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment