I am trying to display the category of results after the title. Currently it is displaying the date and author. I know how to modify this in the template files. This is what I concluded as the solution use {post_category} and insert the following code after
$pst = get_post($result->ID);
in sf.php:
$post_category = get_the_category( $pst->ID, 'echo $category[0]->cat_name');
$pst->post_category = $post_category;
However, it is displaying [object Object]. What should I do?