Custom Search | Wrong output & question
== Short answer == If you use the found $1 you should use LIKE and not = as you match against the title’s LIKE. So replace ((abc18meta.meta_key = ‘plz’) AND (abc18meta.meta_value = $1)) into ((abc18meta.meta_key = ‘plz’) AND (abc18meta.meta_value LIKE $1)) You could change your preg_replace search by ignore the wrapping (see below) of **ABC* … Read more