WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't find the_content in index.php (2 posts)

  1. DLThompson06
    Member
    Posted 2 years ago #

    I'm trying to use actual excerpts on my main page (not <!--more-->), but all the documentation I can find says to replace <?php the_content; ?> with <?php the_excerpt; ?>. The only problem is that I can't find that line in my index.php. Instead, here's my loop:

    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( 'content', get_post_format() ); ?>
    <?php endwhile; ?>

    What am I missing? site: http://www.meandmydiy.com
    Thanks

  2. DLThompson06
    Member
    Posted 2 years ago #

    Hmm...I think I may have found it here:

    http://wordpress.stackexchange.com/questions/22123/twenty-eleven-home-page-show-only-excerpt

    Seems that I needed to be looking in the content.php instead.

Topic Closed

This topic has been closed to new replies.

About this Topic