Modifying search results based on post_type
i think you can PHP it using an if statement.. like so: Say this is the loop.. (simple one i know): <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php $post_type = get_post_type_object( get_post_type($post) ); $post_type_name = $post_type->labels->singular_name if ($post_type_name == ‘example’) { echo ‘<div class=”highlight searchResults”>’; } else { … Read more