Support » Plugins » Show images in archive/category view?

  • I’ve been trying to figure out how to show images in the archive and category views, I’ve found out that you’re supposed to change

    <?php the_excerpt(); ?>


    <?php the_content(); ?>

    in the archive.php file. Thing is, there’s no excerpt thing in my archive.php file. This is the code in the file:

    <?php get_header(); ?>

    <div class=”content”>

    <?php include(TEMPLATEPATH . ‘/leftbar.php’); ?>

    <div id=”primary”>

    <?php include (TEMPLATEPATH . ‘/theloop.php’); ?>


    <?php get_sidebar(); ?>


    <?php get_footer(); ?>

    Any ideas how I can get images to show? Thanks!

Viewing 1 replies (of 1 total)
  • <?php include (TEMPLATEPATH . '/theloop.php'); ?>`

    So, did you try to look into theloop.php? Some smart*** theme authors place the Loop in that file instead of the index/archives etc.

    The disadvantage of this is that if you modify it, it will affect all the other files, that’s why I think it’s a stupid coding.
    You will have to use a conditional or move the Loop to the archive.php to replace the call.

Viewing 1 replies (of 1 total)
  • The topic ‘Show images in archive/category view?’ is closed to new replies.