I am using the_excerpt but wondered if there was a way to append the_time to the the_excerpt.
I am trying to get this result:
<p>Apr 20 : then some text here…</p>
but instead I get:
<p>Apr 20 :</p>
<p>then some text here…</p>
At present I use this code:
<strong><?php the_time('M d') ?> :</strong> <?php the_excerpt(); ?>
Can I put the_time within the excerpt brackets?
Is there a way to get the code to display how I want?
- The topic ‘In need of help with: the_excerpt’ is closed to new replies.