Support » Fixing WordPress » Images are not visible in Categories

  • Resolved Farfetch42

    (@farfetch42)


    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.

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

    (@esmi)

    Forum Moderator

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

    Moderator keesiemeijer

    (@keesiemeijer)

    moderator

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

    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

    Moderator keesiemeijer

    (@keesiemeijer)

    moderator

    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 : ?>

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

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Images are not visible in Categories’ is closed to new replies.