Support » Themes and Templates » Full post instead of excerpts

  • When I first Installed the Coraline theme last December all posts show up in full. Then I did something I no longer remember and they all appear in excerpt, forcing visitors to click on tittle to see the full content.

    I want to go back to always full content but what I find in forums said I should,
    1. Go to the index.php
    2. Find <?php the_excerpt(); ?>
    3. Change it to: <?php the_content(); ?>
    However in my Coraline’s index.php page there’s no mention to ‘excerpt’, and as far as I remember, when I changed from full to excerpt I didn’t do anything so complicated because I’m not a tech guy.

    Can anybody help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael


    Forum Moderator

    check for loop.php, and see if you can make the changes there;

    In loop.php there are following entries:
    3 x <?php the_excerpt(); ?>
    1 x Display excerpts for archives and search.
    1 x Display excerpts for search.

    Should I replace the word ‘excerpt’ or ‘excerpts’ and put ‘content’ or ‘contents’ instead? In all 3?



    Forum Moderator

    i would assume that you might need to bring the last occurrance back to the original state (the one with ‘display excerpts for search’):

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

    but, this depends on what you have changed a while ago – ‘Then I did something I no longer remember and they all appear in excerpt’

    This how my lopp.php looks now:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Full post instead of excerpts’ is closed to new replies.