[Resolved] Searchresults do not display date of every post
I’m using search.php to show the results of a search, but one two posts are from the same date, the date in front of the post title is not shown. How can I get it there anyway?
This is my code for search.php:
<div class="queryresult"><span class="searchdate"><?php the_date('d-m-Y'); ?></span><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> <p><?php the_excerpt(); ?></p></div>
Link to a searchpage: http://www.spoenk.nl/?s=huis
- The topic ‘[Resolved] Searchresults do not display date of every post’ is closed to new replies.