WordPress.org

Forums

Blaskan
Summary option not working for posts in Blaskan theme (3 posts)

  1. sghanizada
    Member
    Posted 2 years ago #

    I had switched to Summary under General Settings > Reading to no avail. My posts still show the full content.

    Is anyone familiar enough with the theme code to know why?

    Thanks in advance

    URL: http://bit.ly/NmVLFJ

    http://wordpress.org/extend/themes/blaskan/

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    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.

  3. Youso
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic