removing the footer from the search results
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 21 Apr 2017 15:23:16 +0000 (11:23 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 21 Apr 2017 15:23:16 +0000 (11:23 -0400)
removing the This entry was posted in category footer from the search results page

sections/search.php

index 77d4717..c0de407 100644 (file)
                         <!-- 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>