Content last modified Tuesday 24 August 2021
hop to #bottom
Current version:
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!


Highlights search terms inside your pages.


  1. Wrap the part of the page you want to highlight between <txp:etz_hilite> and </txp:etz_hilite>.
  2. Put span.etz_hilite {color: yellow;} or whatever in your CSS.

Additional options:

  • class defaults to “etz_hilite”

Known bugs/limitations:

  • Does not support multibyte encodings (including Unicode) yet.
  • Ignores quotes in search terms.
  • Only supports Google and Textpattern’s own search for the moment.


Currently it’s of little use to me because it doesn’t support UTF-8, but it should be usefult to you that use 100% Latin scripts. I plan to extend its functionality in the future. Feedback is most appreciated.

Article Request Count:
Initially released:
May 22, 2005
Posted here:
22 May 2005

You know you want to visit the Archives.
Published with Textpattern