URL: http://www.lofotenmusicfestival.no/wordpress/?page_id=55
My posts are displaying “read more” even if I don’t have excerpts on them. On this site there is only one with excerpt…
This is my code in content.php:
<?php if ( is_search() || is_home() ) : // Only display Excerpts for Search and home ?>
<div class="entry-summary">
<?php the_excerpt();
echo "<a href='".get_permalink()."'>Les mer</a>"; ?>
</div><!-- .entry-summary -->
<?php else : ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
Please help.