I am trying to include categories in search results. I've been searching for hours now with no solution.
By "including categories" I don't mean search in a certain category, I mean let's say I have a bicycle store and have many companies included in the site; a user searched for
BMX mountain cross for example. It will return the category BMX first (by clicking you'll be sent to the category page) and the posts related to the search term like WordPress normally does.
Does anyone have any clues or could point me to the right direction?