WordPress.org

Ready to get started?Download WordPress

Forums

One Post and then just titles (2 posts)

  1. med103
    Member
    Posted 8 years ago #

    I've got a site at http://www.fluidindustries.com. I'm trying to make the index pages have just the most recent post and then just titles under it. I'm sure there's a tutorial or simple fix, I'm just unable to find it. A point in the right direction would be great.
    Thanks You,

  2. Dgold
    Member
    Posted 8 years ago #

    i use something like this inside the loop

    <?php $number_of_posts++; if ($number_of_posts > 1) { echo the_content_rss('', '', '', 11); }
    else { echo the_content('More &raquo;'); }
    ?>

    (code came from Kafkaesqui, IIRC)

    you would probably change the_content_rss to the title or nothing instead depending

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags