- This topic has 2 replies, 2 voices, and was last updated 7 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Date shown of the first post in the search result
Tagged: date, modification, php, results
Hello Trevor,
I have another issue with the results. Strangely only the date of the first result is shown. I changed the php of the results template to have another order and an easier css-styling. Here is the php code I’m using. Apparantly I did something wrong with the syntax? But I can’t find the mistake yet:
“…
<div class=”result”>
<h4>“><?php the_title(); ?></h4>
<div class=”result-content”>
<div class=”result-image”>
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail(“small”);
}
?>
</div>
<div class=”result-excerpt”>
<?php the_excerpt(); ?> Frühestes Einstellungsdatum: <?php the_date(); ?>
</div>
</div>
</div>
…”
Maybe you see the error?
Thank you for your helb in advance.
Kind regards
Albert