Hi!
I am implementing Relevanssi premium into one of the sites.
To get the “Did you mean” spelling correction functionality, it say that a code needs to be added to the search result template, preferably before the have_posts() check:
<?php
if ( function_exists( 'relevanssi_didyoumean' ) ) {
relevanssi_didyoumean( get_search_query(), '<p>Did you mean: ', '</p>', 5 );
}
?>
I know that I need to copy a file into the same path in the Child theme. Is it the _index.php from the global folder? If so, I have a bit of trouble identifying the exact place where to place the Relevanssi code. Could you give me a hand here? Thanks!
Thanks!