Is there any way to specify an exact search with the current wordpress search facility? I see some variables for "exact" and "sentence" but they don't appear to do anything at the moment...
I've hacked the search to include metadata and am using a metadata field to contain a "source title" for quotes (and a plugin to get at the field and turn it into a link) and would like that link to point to an exact search for that source title in some automated fashion...
Currently, what you seek seems to be missing. You will need to hack your own, right now.
The following post might help a little, perhaps :
http://weblogtoolscollection.com/archives/2004/06/07/advanced-contextual-search-for-wordpress/
Anonymous
Unregistered
Posted 8 years ago #
line 1487 of functions.php from cvs version there is a :
if ($exact) {
$n = '';
} else {
$n = '%';
}
when $n is the string to build the query (a % mean .* in sql)
maybe if you hack by there you can have a exact search.
Chmouel -- http://www.chmouel.com/wp/