• aso322

    (@aso322)


    Images won’t appear in posts (they work fine in pages). Here is a test post I made that should have a photo: https://www.storieswithbears.com/?p=138

    I know it’s an issue with the theme, because when I switch themes the photos appear just fine. Anyone have any help they can offer?

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • When I look at your test post, it’s marked as sticky. Can you make it unsticky?

    Are you inserting the post in the body of the post, or is it a feature image.

    Can you add a few more post, maybe add a gallery to one?

    Thread Starter aso322

    (@aso322)

    Hmm it’s not marked as sticky for me. I’m not sure how to undo that.

    The image is posted in the body. I’ve now added a gallery to the above post as well, but that won’t appear either.

    Can you check your single.php and make sure that you are calling the_content() and not the_excerpt().

    If I go to this post – https://www.storieswithbears.com/?p=55
    I can see the […] at the end of the paragraph, which tells me that your calling the excerpt and not the full content. Images don’t show in excerpts.

    Thread Starter aso322

    (@aso322)

    I went into content.php and changed the_excerpt to the_content in the following:

    <!– Content –>
    <div class=”entry-content clearfix” itemprop=”description”>
    <?php the_content(‘Continue reading’); ?>

    which did the trick, but now my entire entry is posted in full. Is there a way to keep excerpts, so that you have to follow a link to read the full entry, while still maintaining working photos?

    Thanks for the help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images in posts not working’ is closed to new replies.