I want to remove the author name/link on search results listings:
Accepted answer
Comments
Thanks to @bwpanda on Zulip chat, the following code in the theme's template.php file does what I need:
/**
* Overrides template_preprocess_search_results().
*/
function [THEME]_preprocess_search_results(&$variables) {
foreach ($variables['search_results'] as &$result) {
$result['info'] = $result['info_split']['date'];
}
}
Thanks to @bwpanda on Zulip chat, the following code in the theme's template.php file does what I need: