bhastert
Member
Posted 6 months ago #
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!
my index.php doesn't have the_content anywhere in it,
Check in other theme templates also.
bhastert
Member
Posted 6 months ago #
I'm not using a theme. Or at least I'm using the super basic wordpress 2011 theme.
bhastert
Member
Posted 6 months ago #
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; ?>