Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End "Read more"

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #154343
    gabbagabba
    Participant

    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.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.