Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Questions with plugin › Reply To: Questions with plugin
Hi,
1 & 2. It is caused by a known minor bug with the title/content filters. Whenever one is unchecked, the index table ignores the other fields (treats the checkboxes in an exclusive matter). To resolve this, simply set the second filter to checked as well: https://i.imgur.com/QcCBCo8.png
3. I am not sure if there is a simple solution to this. If the spaces were to be removed during indexing, the whole text would become a single long string, or if the phrase needs to have spaces added, then there is no way to determine where and for what criteria add the spaces.
Maybe using a custom code to change the ” x ” character with spaces to “x” before indexing could help.
Try adding this code to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.
add_filter( 'asp_indexing_string_pre_process', 'asp_change_the_string', 10, 1 );
function asp_change_the_string( $raw_str ) {
return str_replace(' x ', 'x', $raw_str);
}
After adding this, make sure to re-create the index table: https://i.imgur.com/cTrR9ps.png
If all goes well, it should have some effect.
4. You can change that here: https://documentation.ajaxsearchpro.com/behavior/return-key-and-magnifier-icon-click-actions
5. Those are not actually borders, but a margin and padding, you can reduce that via this custom CSS:
p.showmore {
margin: 1px 0 0 !important;
}
.asp_r {
padding: 1px !important;
}