WP Plugin » Search Terms Highlighter Plugin 0.0

This is the first release of a prototype plugin I wrote to detect incoming requests from search engines and highlight the words in your posts that match the search terms. It also detects local searches with Wordpress and highlights those terms too.

Installation is simple, copy search-terms-highlighter-plugin.php into your Wordpress plugins directory and Activate the plugin from your Admin screen.

FEATURES:

- Automatically highlights search terms used from Google, MSN & Yahoo
- Automatically highlights search terms used in local Wordpress searches

LIMITATIONS:

- The Highlight colour is hard coded to Yellow
- Only ‘detects’ search query strings from known search engines

TODO:

- Add options page to allow configuration of highlight colours
- Support different highlight colours for each search term
- Support DHTML/JS ’switching off’ of highlighting
- More generic query string parser to support unknown search engines
- The preg_replace in sth_plugin_the_content can be optimised to replace all keywords in one operation

Download Plugin