• I am currently using the GoodTheme Lead template found here: https://goodtheme.org/post/489472719/goodtheme-lead

    When I place posts in the featured category, the thumbnails only appear for one post. All other posts only have text titles. However, the main picture for featured articles displays for EVERY featured post. How can I make all of the thumbnails appear?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gf95757

    (@gf95757)

    In a troubleshooting effort, I switch my theme to another template and got the same issue. Only one of my featured thumbnails is appearing. Is this a problem with the index.php file?

    Thread Starter gf95757

    (@gf95757)

    Here is the index.php file:

    <?php get_header(); ?>

    <!– BEGIN content –>
    <div id=”content”>

    <!– begin featured news –>
    <div class=”featured”>
    <!–<h2>Featured</h2>–>

    <div class=”featlist”>
    <div class=”highlight”></div>

    <div id=”featured”>
    <?php
    $highcat = get_option(‘pov_story_category’);
    $highcount = get_option(‘pov_story_count’);

    $my_query = new WP_Query(‘category_name= ‘. $highcat .’&showposts=’.$highcount.”);
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    ?>

    <div class=”fblock”>
    <div class=”thumb”>
    <?php $screen = get_post_meta($post->ID,’screen’, true); ?>
    ” rel=”bookmark”><img src=”<?php echo ($screen); ?>” width=”477″ height=”217″ alt=”” />
    </div>
    <div class=”auth”><small><?php the_time(‘F jS, Y’) ?> | In <?php the_category(‘, ‘); ?> | <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></small> </div>

    <h3>” title=”<?php the_title(); ?>”><?php the_title(); ?></h3>

    <div class=”cont”>
    <?php the_excerpt(); ?>

    </div>
    <div class=”readmore”>
    ” title=”Permanent Link to <?php the_title(); ?>”>Read More »
    </div>
    <div style=”clear: both;”></div>
    </div>
    <?php endwhile; ?>

    <!– Content Ad Starts –>

    <!–
    <div class=”contad”>
    <?php if (!get_option(‘pov_ad_content_disable’) && !$is_paged && !$ad_shown) { include (TEMPLATEPATH . “/content_ad.php”); $ad_shown = true; } ?>
    </div>
    –>

    <!– Content Ad Ends –>

    </div>
    <div class=”clear”></div>
    </div>
    </div>
    <!– end featured news –>

    <?php
    if (have_posts()) :
    $odd = false;
    while (have_posts()) : the_post();
    $odd = !$odd;
    ?>

    <!– begin post –>
    <div class=”<?php if ($odd) echo ‘uneven ‘; ?>post”>
    <div class=”uvod”>
    “><?php dp_attachment_image($post->ID, ‘small’, ‘alt=”‘ . $post->post_title . ‘”‘); ?>

    <p class=”category”><?php the_category(‘, ‘); ?></p>
    <p class=”comments”><?php comments_popup_link(‘{0}’, ‘{1}’, ‘{%}’); ?></p>
    </div>
    <h3>“><?php the_title(); ?></h3>

    <p><?php the_excerpt(); ?></p>

    </div>
    <!– end post –>

    <?php endwhile; ?>

    <div class=”postnav”>
    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
    </div>
    </div>

    <?php else : ?>
    <div class=”notfound”>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that is not here.</p>
    </div>
    <?php endif; ?>

    </div>
    <!– END content –>

    <?php get_sidebar(); get_footer(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnails not appearing on homepage of "goodtheme"’ is closed to new replies.