Skip to content
This repository has been archived by the owner on Apr 21, 2018. It is now read-only.

Commit

Permalink
Removed excerpt display on search results; it's now the_content like …
Browse files Browse the repository at this point in the history
…everythingelse.
  • Loading branch information
kwight committed Jul 25, 2012
1 parent 166ce64 commit c26581c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions content.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,10 @@
<?php endif; ?>
</header><!-- .entry-header -->

<?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>', 'debut' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'debut' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php endif; ?>

<footer class="entry-meta">
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
Expand Down

0 comments on commit c26581c

Please sign in to comment.