Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created February 14, 2019 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/21e17a2c0344e133abe96deb1f0a62ae to your computer and use it in GitHub Desktop.
Save jchristopher/21e17a2c0344e133abe96deb1f0a62ae to your computer and use it in GitHub Desktop.
Tell SearchWP to use a span instead of mark when highlighting
<?php
// Tell SearchWP to use a span instead of mark when highlighting.
add_filter( 'searchwp_th_use_span', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment