Wordpress PHP Call Help

Discussion in 'General Marketing' started by newmannewy, Nov 10, 2012.

  1. #1
    This is the code from wordpress in order to integrate the posts in to a standard php website..

    <?php query_posts('showposts=3'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><br />
    <?php endwhile;?>

    Does anybody know how to modify this so it shows a line or 2 of the content as well rather than just the title to the post.. ?

    thanks
     
    newmannewy, Nov 10, 2012 IP