removing the This entry was posted in category footer from the search results page
<!-- End of the Contextual/Highlight Search -->
<?php //echo (function_exists('the_advanced_excerpt')) ? the_advanced_excerpt(): the_excerpt(); ?>
- <footer class="entry-meta small-12 medium-6 medium-push-3 center">
- <?php
- if (has_category()) {
- $post_categories = wp_get_post_categories( get_the_ID() );
- $cats = array();
- echo 'This entry was posted ';
- echo 'in';
- foreach($post_categories as $c){
- $cat = get_category( $c );
- $cats[] = array( 'name' => $cat->name, 'slug' => $cat->slug );
- echo ', <a rel="category" title="View all posts in '. $cat->name . ' " href="'. $cat->slug .'">'. $cat->name .'</a>';
- }
- echo '.';
- }
- ?>
- </footer>
+
</article>
</div>
</div>