This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Searching in content even when content option is set to "NO"

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Searching in content even when content option is set to "NO" Reply To: Searching in content even when content option is set to "NO"

#17786
Ernest MarcinkoErnest Marcinko
Keymaster

Thank you for your kind words 🙂

I’m afraid that is not possible with configuration. The ‘starting with’ option there refers to the start of the whole field (whole title), not the start of the word within the field.

However, since you added FTP access, I made a tiny modification to the main CPT search file. Now it will return:
– Taxonomy terms that start with the entered phrase
– Courses which start with the phrase, or Courses where any word in the title starts with the phrase. “Ex. ABE Level 6 Diploma in Marketing”

I think this is the closest possible solution. The file I changed was the www\v2018\wp-content\plugins\ajax-search-pro-413\includes\classes\search\class-asp-search-cpt.php file, please make a copy of it. An archive copy you can also find here.