Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Other results at top but should be at bottom. › Reply To: Other results at top but should be at bottom.
October 4, 2021 at 1:40 pm
#34986
Keymaster
Well, not via settings, but could be doable via a custom code.
add_filter('asp_result_groups', 'add_asp_result_groups', 10, 1);
function add_asp_result_groups($groups) {
if ( isset($groups['_other_res']) ) {
$or = $groups['_other_res'];
unset($groups['_other_res']);
return array_merge($groups, array('_other_res' => $or));
}
return $groups;
}
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.