Unable to search for “a.m.”
-
Hello. I have reduced the number of letters to make a word to be indexed in advanced settings. I set periods to be kept. Ive reindexed multiple times. “am” will be found, but not “a.m.” which I very much need. Ive run out of ideas. I tried to just have periods replaced:
add_filter(‘relevanssi_remove_punctuation’, ‘rlv_keep_brackets_1’, 9);
function rlv_keep_brackets_1($a) {
$a = str_replace( ‘.’, ‘period’, $a );
return $a;
}add_filter(‘relevanssi_remove_punctuation’, ‘rlv_keep_brackets_2’, 11);
function rlv_keep_brackets_2($a) {
$a = str_replace(‘period’, ‘,’, $a);
return $a;
but i dont know much about code. Please help and thank you in advance.The page I need help with: [log in to see the link]
- The topic ‘Unable to search for “a.m.”’ is closed to new replies.