The MU forums have moved to WordPress.org

home page - content (4 posts)

  1. shirley1
    Member
    Posted 13 years ago #

    Hi

    I want to show in the home page of my blog only the titles of the post and just 3 lines. Is it possible? How can I do that?

    Thanks

  2. dsader
    Member
    Posted 13 years ago #

  3. shirley1
    Member
    Posted 13 years ago #

    thank you.

  4. shirley1
    Member
    Posted 13 years ago #

    I used : <?php the_excerpt(); ?>
    It works for fy my home page,

    however when I want to see the excerpt using the category or archive, I don't know where to put this code :

    <?php if ( is_category() || is_archive() ) {
    the_excerpt();
    } else {
    the_content();
    } ?>

About this Topic

  • Started 13 years ago by shirley1
  • Latest reply from shirley1