Hi,
I have a problem with the search result list, the categories is not displayed in the list but the tags are. So the search finds the pages and documents that belong to category “test cat 2” but the name of the category is not displayed. The name of the tags is displayed so I can’t figure out why the categories aren’t.
I have a result-file in my theme folder and I am using Ultimatum theme with a child theme. part of my result-file looks like this:
<div class="item">
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<hr />
<p><?php the_excerpt(); ?></p>
<hr />
<p class="categories"><?php the_category(); ?></p>
<p class="tags"><?php the_tags(); ?></p>
</div>