I have seen other questions regarding this but none solve my problem:
I want to show excerpts only on my blog archive page.
These steps I have done:
1. I created a childtheme for twentytwelve
2. I have created a page for home and a page for Blog and set the homepage to Home and the posts page to Blog (reading settings)
3. I have duplicated the content.php in my childtheme and changed the line
<?php if ( is_search() ) : ?><div class="entry-summary"><?php the_excerpt(); ?></div>
<?php if ( is_search() || is_archive() ) : ?><div class="entry-summary"><?php the_excerpt(); ?></div>
But the blog page shows a list of full blog posts, not excerpts. What am I doing wrong?
- The topic ‘show excerpts on twentytwelve childtheme blog page’ is closed to new replies.