WordPress.org

Support

Support » Themes and Templates » Summary option not working for posts in Blaskan theme

Summary option not working for posts in Blaskan theme

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael
    Forum Moderator

    @alchymyth

    switched to Summary under General Settings > Reading

    this is only for rss feeds;

    to change from full posts to summaries, you need to edit the corresponding template file (usually index.php, but in ‘blaskan’ this points to loop.php) and exchange the_content() for the_excerpt()

    http://codex.wordpress.org/Function_Reference/the_excerpt

    in the ‘blaskan’ theme, in loop.php, the exact line to edit is:

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

    or you can use the ‘more-tag’ while writing or editing your posts, to limit how much is shown on the posts page.

    I did that and it also edited the content of the single post. Is there a method that it only takes place on the home page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Summary option not working for posts in Blaskan theme’ is closed to new replies.