The MU forums have moved to WordPress.org

excerp- classic theme (2 posts)

  1. shirley1
    Member
    Posted 14 years ago #

    I'm using Wordpressmu 2.9.2 with the classic 1.5 theme.

    In my index page, I have put :

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

    This does not work.

    I want to show the excerpt in my home page and when I click in a post , or a category or archive I would like to see the content of the post.

  2. andrea_r
    Moderator
    Posted 14 years ago #

    Just fyi, this is not wpmu-specific. It works the same exact way as in single wp.

    make the index page only show the excerpt. Then copy that template and name it category.php. Then change the_excerpt to the_content. Problem solved.

About this Topic

  • Started 14 years ago by shirley1
  • Latest reply from andrea_r