Support » Theme: Skirmish » Skirmish – For each article in a feed, show a Summary

  • Hi guys,

    I’m using Skirmish at http://encorepiano.co.nz/

    On the news page, where I send all my posts I want to have a summary instead of the full text, however I can’t seem to make this happen.

    Any advice on how to fix this? It would be greatly appreciated

Viewing 1 replies (of 1 total)
  • Make the below suggested change and any others in a child theme and not directly in the main theme itself in order to prevent loss of customizations upon theme updates.

    See http://codex.wordpress.org/Child_Themes

    Edit Skirmish child theme’s content.php.

    Replace

    <?php if ( is_search() ) : // Only display Excerpts for Search ?>
    	<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>', 'skirmish' ) ); ?>
    		<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'skirmish' ), 'after' => '</div>' ) ); ?>
    	</div><!-- .entry-content -->
    	<?php endif; ?>

    with

    <div class="entry-summary">
    		<?php the_excerpt(); ?>
    	</div><!-- .entry-summary -->
Viewing 1 replies (of 1 total)
  • The topic ‘Skirmish – For each article in a feed, show a Summary’ is closed to new replies.