WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Images are not visible in Categories (6 posts)

  1. Farfetch42
    Member
    Posted 3 years ago #

    I have already looked into several areas trying to resolve this issue. On the main blog page the images are displayed but not in the category pages. I have looked into the editor to adjust the archive within the theme folder, and change "the_excerpt" to "the_content" in that file. But I have not found any 'excerpt' in the whole thing I have also looked in category template and found nothing matching. Can anyone help me please!
    Be very much appreciated Cheers.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

  3. keesiemeijer
    moderator
    Posted 3 years ago #

    What theme are you using? Please provide a link if possible.

  4. Farfetch42
    Member
    Posted 3 years ago #

    That's the blog page where the images are visible

    and thats the category page where they aren't.(Below)

    http://harestock.users33.interdns.co.uk/?cat=14

    I'm using a theme based on Clear Style by paomedia

  5. keesiemeijer
    moderator
    Posted 3 years ago #

    It's in loop.php where you have to change the_excerpt() in to the_content().
    change this:

    <?php if (is_archive() || is_search()) : ?>
    <div class="entry-summary">
            <?php the_excerpt(); ?>
    </div>
    <?php else : ?>

    to this:

    <?php if (is_archive() || is_search()) : ?>
    <div class="entry-summary">
    <?php if (is_archive()) : ?>
            <?php the_content(); ?>
    <?php else : ?>
            <?php the_excerpt(); ?>
    <?php endif; ?>
     </div>
    <?php else : ?>
  6. Farfetch42
    Member
    Posted 3 years ago #

    Yeah Fixed! Thank you so much that's been bugging me all day. Sorted.

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.