Support » Themes and Templates » Please help me with the_excerpt

  • Hi, I’m using the Blaskan theme. And I would like my posts to show as excerpts throughout the entire blog excerpt when on the actual post. So basically an excerpt on the homepage, tags, searches, archives, everything.

    I’m having a little trouble doing it. Could anyone please help?


Viewing 1 replies (of 1 total)
  • martinjharvey


    Edit the template files e.g page.php, single.php etc. for the pages where you want to show the excerpt. Look for the_content(); template tag and replace it with this:

    <?php if( is_single() ) : the_content(); else : the_excerpt(); endif; ?>

    The conditional tag will check if is_single() is true and show the full content or if false will only output the excerpt.

Viewing 1 replies (of 1 total)
  • The topic ‘Please help me with the_excerpt’ is closed to new replies.