Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created January 10, 2014 15:22
Show Gist options
  • Save jchristopher/8356280 to your computer and use it in GitHub Desktop.
Save jchristopher/8356280 to your computer and use it in GitHub Desktop.
Prevent Term Highlight from automatically replacing content from the_excerpt()
<?php
add_filter( 'searchwp_th_auto_filter_excerpt', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment