[resolved] [closed] Excerpts on home page (4 posts)

  1. YoungJordeh
    Posted 2 years ago #


    How can I get excerpts on the home page rather than the full posts? Thanks in advance.

  2. Anders Noren
    Theme Author

    Posted 2 years ago #

    Hi YoungJordeh,

    Open content.php and replace the code at lines 63-69 with the following code:

    <div class="post-content">
    	<?php if (is_single()) : ?>
    		<?php the_content(); ?>
    		<?php wp_link_pages(); ?>
    	<?php else : ?>
    		<?php the_excerpt(); ?>
    	<?php endif; ?>
    </div> <!-- /post-content -->

    When you update, the excerpt should be displayed on index, search and archive pages.

  3. polymathpunk
    Posted 2 years ago #

    I edited the code as Anders Noren said and excerpts are working but the read more links don't appear. The excerpt ends with […]....
    Is it the same case for you?

  4. lilymariec
    Posted 2 years ago #

    Hi again (I'm sorry for all these posts of mine! )

    A few days ago I did what the person who posted this thread wanted to do....

    but now I want to change it back to how it originally was. I changed back the code in the content.php file, but I still want to have only summaries show up on the blog page - just like you have it in your demo - with the "continue reading box".

    I went to settings to make sure it was on "summary" but now the entire blog post is showing up.

    I want summaries, but not with the '[…]'. I just want it to look like the demo.

    thanks again!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.