Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Multiple questions ( CPT , size title ; stats ) › Reply To: Multiple questions ( CPT , size title ; stats )
March 23, 2022 at 4:08 pm
#37285
Participant
Hello
Indeed this code does not work correctly and I can’t edit to that it is functional.
If the text of the CPT contains in the middle the word it’s ok
For all other cases (even non-CPT) there is only “……” so match[0] is always empty
I think it comes from the regex but I can’t find what you are using
Thanks