WordPress.org

Support

Support » Themes and Templates » [Resolved] Excerpts on home page

[Resolved] Excerpts on home page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Anders Noren

    @anlino

    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.

    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?

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Excerpts on home page’ is closed to new replies.