Child Theme / Search.php


I created this work around to display images in my search results, can this be added to the main theme as an enhancement request? Thanks.



<div class="search-photos"><a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail(); ?>  </a></div>
<div class="post-title">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</div>

Comments

Sign In or Register to comment.