• Resolved Linda Bradshaw

    (@linda-bradshaw)


    I would really like to use excerpts for my lengthy posts, but would like to have the photos that are in the posts be included in the excerpts. Is that possible? The way it is now, when I choose excerpts, only the text shows up until the reader clicks on “read more.” I think having a photo on the beginning of the post would make the reader more likely to want to click on the “read more.” Can you help with that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author nobita

    (@nobita)

    Hi Linda Bradshaw

    Please try below

    Dashboard / Appearance / Customize

    Excerpt

    Home Listed Entry Contents

    Set Show Excerpt

    Wait a few seconds, you will see the setting.

    Excerpt Type

    Set HTML in Excerpt

    Add More Link After Excerpt

    Set yes

    Thank you.

    Thread Starter Linda Bradshaw

    (@linda-bradshaw)

    That did it! Thank you so much!

    Thread Starter Linda Bradshaw

    (@linda-bradshaw)

    In a post that has multiple photos, is there a way to have only ONE of the photos included before the “read more” prompt? I see that in a post that has multiple photos that all of the photos are included, which is making the post longer than I was hoping….

    Theme Author nobita

    (@nobita)

    Dashboard / Appearance / Customize

    Advanced / Site-wide CSS

    Try paste below

    .archive .entry-content figure[id^="attachment"],
    .home .entry-content figure[id^="attachment"]{
        display:none;
    }
    .archive .entry-content figure[id^="attachment"]:nth-of-type(1),
    .home .entry-content figure[id^="attachment"]:nth-of-type(1){
        display:block;
    }

    This style needs caption with image.

    Thread Starter Linda Bradshaw

    (@linda-bradshaw)

    That seems to have done the trick! Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Include photo in excerpt’ is closed to new replies.