• Hi everyone,

    How can you show full post in category and archive with twenty ten?
    I looked at category.php and archive.php but could not find
    the_excerpt()

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Try looking in loop.php. It’s in the third (lowest) of the three Loops in that file.

    <?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>

    Try changing it to:

    <?php if ( is_search() ) : // Only display excerpts for search. ?>

    Thread Starter yumiko

    (@yumiko)

    esmi,
    Thank you for your advise, but it did not work. Any other ideas?

    Hey there, I just tried to do this. and the solution wasn’t what I expected.

    In the twenty ten default list of php files. There is a loop.php.

    Go in that file and change all the the_excerpt() to the_content()

    I hope this works for you too.

    Thread Starter yumiko

    (@yumiko)

    ClaytonK,
    Thank you for your advise.
    It sounded promising but didn’t work for me. hmmm.

    Looking for the same here. Would like to get rid of the ‘continue reading’ in archive & category by modifying something in the child theme but where ?

    Also change entry-summary to entry-content and that should do the trick

    Esmi said:

    Try looking in loop.php. It’s in the third (lowest) of the three Loops in that file.

    <?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>

    Try changing it to:

    <?php if ( is_search() ) : // Only display excerpts for search. ?>

    Thank you ! That worked for me after all…

    Change the_excerpt() to the_content() in loop.php… It definitely work…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘show full post in category and archive with twenty ten’ is closed to new replies.