Support » Fixing WordPress » excerpts on index page

  • I’m trying to get my index page, which I’m using as my home page, to display excerpts of my posts as the default. I read the thing about replacing “the_content” with “the_excerpt” but my index.php doesn’t have the_content anywhere in it, so I can’t replace it. I’m awfully confused.

    I’m not good with code, but I can follow directions. My website is http://www.bridentitypolitics.com. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    my index.php doesn’t have the_content anywhere in it,

    Check in other theme templates also.

    I’m not using a theme. Or at least I’m using the super basic wordpress 2011 theme.

    Here is some of the code from the index page… is this the right ballpark? Am I missing something?

    <div id=”primary”>
    <div id=”content” role=”main”>

    <?php if ( have_posts() ) : ?>

    <?php twentyeleven_content_nav( ‘nav-above’ ); ?>

    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( ‘content’, get_post_format() ); ?>

    <?php endwhile; ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘excerpts on index page’ is closed to new replies.