Forums

[resolved] Add image to post not working (6 posts)

  1. JesseG5
    Member
    Posted 1 year ago #

    Hello. I am trying to add a image to my posts but it's not working. I have tried to insert the image using the media bar and I have tried to insert using CSS. Still no luck.
    However the images do show up when you read the article. I think it might have something to do with [...] at the end of the post. I may have added code to cut the article short but I don't remember where.

    Here is my site: http://www.JesseGunzel.com/blog

    Can anyone offer any help?

  2. voiceofguyana
    Member
    Posted 1 year ago #

    this thing has malfunctioned more times than i can count
    cannot add images for days on end at a time unless i right click and copy address

  3. Chris_K
    Administrator
    Posted 1 year ago #

    @JesseG5 - sounds like your theme is using the_excerpt() instead of the_content() to display posts on the main page.

    Excerpts don't, by default, show images.

  4. JesseG5
    Member
    Posted 1 year ago #

    Thanks HandySolo. Is there anyway for me to change that in the code?

    Best,
    Jesse

  5. Chris_K
    Administrator
    Posted 1 year ago #

    Sure. Edit your theme's index.php.

    As mentioned above, replace the_excerpt with the_content.

  6. JesseG5
    Member
    Posted 1 year ago #

    HandySolo, thanks it worked! You the man!

Topic Closed

This topic has been closed to new replies.

About this Topic