WordPress.org

Ready to get started?Download WordPress

Forums

show full post in category and archive with twenty ten (9 posts)

  1. yumiko
    Member
    Posted 3 years ago #

    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!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    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. ?>

  3. yumiko
    Member
    Posted 3 years ago #

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

  4. ClaytonK
    Member
    Posted 3 years ago #

    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.

  5. yumiko
    Member
    Posted 3 years ago #

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

  6. kristel_ttm
    Member
    Posted 3 years ago #

    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 ?

  7. Levi Erik
    Member
    Posted 3 years ago #

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

  8. kristel_ttm
    Member
    Posted 3 years ago #

    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...

  9. vivishrich
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic