Solved.
The theme’s search.php file contains this code and I took it off.
<?php get_search_form(); ?>
Good to hear you solved this. Relevanssi doesn’t automatically add any search boxes, but uses the ones already in your theme.
I use the Donovan theme, in the search.php file there is no the_title(); where is it?
You need to ask the Donovan developers about that. They know; I have no idea.
SOLVED. In the file template-parts/content-excerpt.php replace <?php the_title( sprintf(... with <?php relevanssi_the_title( sprintf(...
-
This reply was modified 1 week, 3 days ago by
steve92.
-
This reply was modified 1 week, 3 days ago by
steve92.
It’s safer to do
<?php if (function_exists('relevanssi_the_title')) {
relevanssi_the_title(...);
} else {
the_title(...);
}
so your site doesn’t crash if Relevanssi is disabled.
I don’t know how to put it, this is my original code.
https://snipboard.io/4kXAvW.jpg
SOLVED
-
This reply was modified 1 week, 3 days ago by
steve92.