Support » Theme: Coraline » I have excerpts in categories but I also want on frontpage

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Kathryn


    Hi there, the blog index in Coraline is also generated by the file loop.php, as discussed in the other thread.

    In a child theme, try modifying line 184 from:

    <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'coraline' ) ); ?>


    <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'coraline' ) ); ?>

    Keep in mind that line numbers may differ if you’ve already made changes to the file, so you may need to download and look at a default, unedited copy of the theme to be sure the line numbers match.

    Be sure to make these changes in a child theme, not in the default theme directly, otherwise all your tweaks will be overwritten and erased when you update the theme.

    Here are some guides in case you haven’t made one before:

    Thank you for the help but the modification you wrote is no different from the original?

    Moderator Andrew Nevins


    Forum moderator

    Isn’t the original “the_content” and the modified “the_excerpt“?

    Moderator Kathryn


    askechr – as Andrew pointed out, the original has the_content (full posts) while the edited version uses the_excerpt to display excerpts.

    If I’ve misunderstood what you’re trying to accomplish, could you please explain your goal in more detail? I do see excerpts on your homepage now, which is what I thought what you wanted:


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I have excerpts in categories but I also want on frontpage’ is closed to new replies.