Quick-and-dirty plugin that allows you to specify custom search results for specific search queries.
Move gg-custom-results.php
into either the /wp-content/plugins/
or /wp-content/mu-plugins/
directory. If you put it in plugins
, you'll need to activate from Plugins menu in the WordPress admin. If you put in mu-plugins
, it will be automatically active.
You can define your custom search results in wp-config.php
. Insert the following just above the line that reads /* That's all, stop editing! Happy blogging. */
: