WordPress.org

Ready to get started?Download WordPress

Forums

Mon Cahier
[resolved] How to Display Post Excerpts (5 posts)

  1. sargefran
    Member
    Posted 1 year ago #

    Hey guys, great theme loving it. One question:

    How do I show post excerpts on the front page?

    Thanks.

    http://wordpress.org/extend/themes/mon-cahier/

  2. Henry Perkins
    Member
    Posted 1 year ago #

    I personally like the plugin Special Recent Posts to do this, but there are many options out there. This one allows you to use shortcodes in posts/pages and in widgets to display post excerpts & thumbnails.

  3. Christine Rondeau
    http://www.bluelimemedia.com
    Theme Author

    Posted 1 year ago #

    What you could do is set up a child theme and then in your child theme folder, you could make a duplicate of the content.php.

    Look at line 29 and change it to:

    <?php if ( is_search() || is_home() ) : // Only display Excerpts for Search ?>

    This will now change it to show excerpts on the home and search results.

    Let me know if that works.

  4. sargefran
    Member
    Posted 1 year ago #

    Thanks a lot Christine, that worked like a charm.

  5. Christine Rondeau
    http://www.bluelimemedia.com
    Theme Author

    Posted 1 year ago #

    Awesome. Glad I could help.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags