pictures dont show on my blogs home page with this template

Discussion in 'Blogging' started by madmn, Jul 16, 2008.

  1. #1
    I found a great template that has a homepage that allows you to put three categories on the homepage. The problem is when you post pictures to the posts they dont show up on the homepage just in the categories and archives etc. Here is the code that is on the homepage.

    <ul class="latest2">
    <?php $feature_post = get_posts( 'category=6&numberposts=1' ); ?>
    <?php foreach( $feature_post as $post ) : setup_postdata( $post ); ?>
    <li><h2 class="latest"><?php the_category(' '); ?></h2></li>
    <?php endforeach; ?>
    <?php $feature_post = get_posts( 'category=6&numberposts=4' ); ?>
    <?php foreach( $feature_post as $post ) : setup_postdata( $post ); ?>
    <?php if (function_exists('c2c_get_custom')) : ?>
    <li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
    <?php echo c2c_get_custom('post-image','<img src="','" alt="<?php the_title(); ?>" class="post-image" />',''); ?></a></li>
    <?php endif; ?>

    <li class="list-time"><?php the_time('d'); ?>.<?php the_time('M'); ?></li>
    <li class="list-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
    <li class="latest-excerpt2"><?php the_excerpt(); ?></li>
    <?php endforeach; ?>
    </ul>
     
    madmn, Jul 16, 2008 IP