WordPress.org

Ready to get started?Download WordPress

Forums

Leaf
Show full post instead of excerpt? (8 posts)

  1. alix2190
    Member
    Posted 1 year ago #

    Hello!

    The theme is great--it's sleek and easy to customize.

    My only problem is this: What do I need to change to make it so that the blog shows full posts rather than excerpts?

    I've looked around online for answers; others with this problem have been told to switch out the_excerpt for the_content. So I did that in content.php and home.php, but it's still just showing excerpts.

    If you could send some advice my way, I'd be incredibly grateful. Thank you!

  2. trimvideo
    Member
    Posted 1 year ago #

    Yes I'm having the same problem and have tried the above suggestion with no luck. Can anyone help? Really love this theme just wish I could sort this one thing.

  3. lupi73
    Member
    Posted 1 year ago #

    hi,
    should replace all the line
    <?php echo '<p>' . wp_trim_words( get_the_excerpt(), 45, null ) . '</p>'; ?>
    by
    <? php the_content ('');>

  4. Sylvain Martineau
    Member
    Posted 1 year ago #

    Same question ! The last suggestion don't work for me.

  5. alchymyth
    Forum Moderator
    Posted 1 year ago #

    have you searched through all content-????.php files?

    can you post a link to show where the excerpt shows?

  6. lupi73
    Member
    Posted 1 year ago #

    bonjour,
    vous voulez les articles en entier sur la page d'accueil et non un extrait ?
    vous avez bien remplacé the_excerpt par the_content ?
    dnas le fichier content.php vers la ligne 41

  7. Sylvain Martineau
    Member
    Posted 1 year ago #

    Thank you for the answers !
    Finally, I'll put a Static page on the home page ...

    But I have a menu that consists of categories ... Is there a way to choose between "the_excerpt" and "the_content" according to the category?

    P.S. At the moment I'm working locally, so I can not post links.

  8. tarynks
    Member
    Posted 9 months ago #

    I do not have "excerpt" anywhere in my css but my page is still showing excerpts and I want the full posts on the home page. Any suggestions?
    (I have a featured image set and want to keep them for my "related posts")

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic