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

Reply To: Help with search results page

#34040
Ernest MarcinkoErnest Marcinko
Keymaster

Hi Kimi,

Well, all the plugin does is send the results to the results page, the rest is up to the theme unfortunately. While it forces the same URL to the results page, ulitmately the results page handler decides what is going to be displayed there.

Can you please try this custom code maybe:

add_filter( 'asp_regular_search_result', 'asp_force_guid', 10, 2 );
function asp_force_guid( $post, $result ) {
	$post->guid = $result->link;
	$post->asp_guid = $result->link;
	return $post;
}

There is a very small chance this is going to work, but it is worth a try.