• Resolved jazfotodesign

    (@jazfotodesign)


    Trying to get “read more” after excerpt…

    This is what i’m using currently to call the excerpts from the ‘featured category’ id=19

    <ul>
    <?php $recent = new WP_Query("cat=19&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark">
    <?php the_title(); ?> - <i>Read Full Post</i></a>  <?php the_excerpt(); ?>
    </li>
    <?php endwhile; ?>
    </ul>

    This is what I tried to use for read more after excerpt but it shows up 2 lines below making it hard to see

    <ul>
    <?php $recent = new WP_Query("cat=19&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark">
    <?php the_title(); ?></a>  <?php the_excerpt(); ?><a href="<?php the_permalink() ?>" rel="bookmark"><i>Read Full Post</i></a>
    </li>
    <?php endwhile; ?>
    </ul>

    Any help appreciated, here’s the site… clicky

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Read More after Excerpt’ is closed to new replies.