• `
    Hi all,

    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?

    Thanks
    Fiona

Viewing 1 replies (of 1 total)
  • If it is the hand-crafted excerpt you could always use the $post->post_excerpt value instead of the_excerpt().

Viewing 1 replies (of 1 total)
  • The topic ‘In need of help with: the_excerpt’ is closed to new replies.