I apologize for my English, but I am French. In my custom search page I display the results of my custom post type and everything is good. Only, I would like to display above the custom post type the category that is his. To display the post categories I do:
$category = get_the_category ();
echo "<p> Category:". $category[0]->cat_name. "</ p>";
But how to do for custom post type?
Thank you for your help.