The search function will return only blog posts results. If you want to search in all website content please open functions.php file and remove the next function.
/* ---------------------------------------------------------------------- */
/* Search only posts
/* ---------------------------------------------------------------------- */
function SearchFilter($query) {
if ($query->is_search) {
$query->set(\'post_type\', \'post\');
}
return $query;
}
add_filter(\'pre_get_posts\',\'SearchFilter\');
I'm using the Search widget in the Center Footer but it's not returning results.
The search function will return only blog posts results. If you want to search in all website content please open functions.php file and remove the next function.
I hope to help you this information.
Best regards,
George
Nice work.