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

Reply To: Filter by YYYY and Search topic in filter

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Filter by YYYY and Search topic in filter Reply To: Filter by YYYY and Search topic in filter

#35459
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

1. Sure, you can do that via a small modification:

function asp_change_print_search_query($query, $search_id) {
	if ( $search_id == 1 ) {
		return '';
	} else {
		return $query;
	}
}

Just change the number to the search ID for which you want to apply the code.

2. Well, if you are using an elementor shortcode or similar widget, you could add this HTML code just before the shortcode:

<div class="asp_w asp_sb searchsettings" style="visibility: visible !important; display: block !important"><fieldset><legend>Topic</legend></fieldset></div>

This should basically push the same exact layout as the other labels.

3. That is not possible unfortuantely. Grouping is only available for the live results list when using the vertical layout.

4. The groups order can be set here – where you can also change the position of the “Other results” group.
Also, you may want to have this option disabled as well.