Title: adispune's Replies | WordPress.org

---

# adispune

  [  ](https://wordpress.org/support/users/adispune/)

 *   [Profile](https://wordpress.org/support/users/adispune/)
 *   [Topics Started](https://wordpress.org/support/users/adispune/topics/)
 *   [Replies Created](https://wordpress.org/support/users/adispune/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/adispune/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/adispune/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/adispune/engagements/)
 *   [Favorites](https://wordpress.org/support/users/adispune/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Penscratch] How To Make Blog Posts Show As Excerpts Not Full Text](https://wordpress.org/support/topic/how-to-make-blog-posts-show-as-excerpts-not-full-text/)
 *  [adispune](https://wordpress.org/support/users/adispune/)
 * (@adispune)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-blog-posts-show-as-excerpts-not-full-text/#post-8372903)
 * Hei, Kathryn. I followed your child theme experiment with Penscratch, but at 
   the excerpt part i always get this error:
 * Parse error: syntax error, unexpected ‘else’ (T_ELSE) in /abc/penscratch-child/
   content.php on line 36
 * After many tries, i still couldn’t find out the problem in the code. Can you 
   help me out, please?
 * This is the code you suggested in your presentation:
 *     ```
       if ( is_search() || is_home() ) : // Only display Excerpts for Search or Blog ?>
       	<div class="entry-summary">
       		<?php the_excerpt(); ?>
       	</div><!-- .entry-summary -->
       	<?php else : ?>
       	<div class="entry-content">
       		<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'penscratch' ) ); ?>
       		<?php
       			wp_link_pages( array(
       				'before' => '<div class="page-links">' . __( 'Pages:', 'penscratch' ),
       				'after'  => '</div>',
       			) );
       		?>php
       	</div><!-- .entry-content -->
       	<?php endif; ?>
       </article><!-- #post-## -->
       ```
   
    -  This reply was modified 9 years, 7 months ago by [adispune](https://wordpress.org/support/users/adispune/).

Viewing 1 replies (of 1 total)