• Or version 2.8.3 The Gemer theme is terrific for me, but the image in the post doesn’t display on the home page in the smaller preview area. The image shows up on the feature area above and on the post page, but not the lower area on the home page.

    I also put it on this site http://www.learningstrategies411.com – so you can see how the feature area rotates on the home page. It’s a great theme – but I need the images to display in the lower half of the home page too.

    Please take a peek http://www.speedthroughcollege.com and see if you can help me. the index page code is this please let me know if you need me to give you another page’s code:

    “<?php get_header(); ?>

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

    <!– begin featured news –>
    <div class=”featured”>
    <h2>Featured News</h2>
    <div id=”featured”>
    <?php
    $tmp_query = $wp_query;
    query_posts(‘showposts=3&cat=’ . get_cat_ID(dp_settings(‘featured’)));
    if (have_posts()) :
    while (have_posts()) : the_post();
    ?>
    <!– begin post –>
    <div class=”fpost”>
    “><?php dp_attachment_image($post->ID, ‘thumbnail’, ‘alt=”‘ . $post->post_title . ‘”‘); ?>
    <h3>”><?php the_title(); ?></h3>
    <p class=”details”></p>
    <p><?php echo dp_clean($post->post_content, 300); ?></p>
    </div>
    <!– end post –>
    <?php endwhile; endif; ?>
    </div>
    </div>
    <!– end featured news –>

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

    <!– begin post –>
    <div class=”<?php if ($odd) echo ‘uneven ‘; ?>post”>
    <h3>”><?php the_title(); ?></h3>
    “>
    <?php $screen = get_post_meta($post->ID,’screen’, true); ?>
    <img src=”<?php $values=get_post_custom_values(“post-image”);echo$values[0];?>”alt=”post-thumb”class=”post-image”width=”150″/>
    <div class=”postmeta”>
    <p class=”category”><?php the_category(‘, ‘); ?></p>
    <p class=”comments”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
    </div>
    </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 7 replies - 1 through 7 (of 7 total)
  • http://dannci.com/gemer-theme/

    You will find your answer under thumbnails!

    I have the same problem, I will appreciate if someone can send the what to change in the code and were exactly to make the changes. The Thumbnails does not appear on the Homepage.

    I have resolved this problem in my sweepstakes directory site.
    Send me a msg via the contact page of this website and i will send u the details. (its a bit long to be posted here)

    By the way, I now need to customize its header. Any help is appreciated

    New index page code to fix thumbnails:

    <?php get_header(); ?>
    
    <!-- BEGIN content -->
    
    <div id="content">
    
    	<!-- begin featured news -->
    
    	<div class="featured">
    
    	<h2>Featured News</h2>
    
    	<div id="featured">
    
    		<?php
    
    		$tmp_query = $wp_query;
    
    		query_posts('showposts=3&cat=' . get_cat_ID(dp_settings('featured')));
    
    		if (have_posts()) :
    
    		while (have_posts()) : the_post(); 
    
    		?>
    
    		<!-- begin post -->
    
    		<div class="fpost">
    
    			<a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'thumbnail', 'alt="' . $post->post_title . '"'); ?></a>
    
    			<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
    
    			<p class="details"></p>
    
    			<p><?php echo dp_clean($post->post_content, 300); ?></p>
    
    		</div>
    
    		<!-- end post -->
    
    		<?php endwhile; endif; ?>
    
    	</div>
    
    	</div>
    
    	<!-- end featured news -->
    
    	<?php
    
    	$wp_query = $tmp_query;
    
    	if (have_posts()) :
    
    	$odd = false;
    
    	while (have_posts()) : the_post();
    
    	$odd = !$odd;
    
    	?>
    
    	<!-- begin post -->
    
    	<div class="<?php if ($odd) echo 'uneven '; ?>post">
    
    	<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
    
    	<a href="<?php the_permalink(); ?>"></a>
    
        <!--?php $screen = get_post_meta($post->ID,'screen', true); ?-->
    
    			<!--img src="<?php echo ($screen); ?>" width="181" height="100" alt=""  /-->
    
    	<?php dp_attachment_image($post->ID, array(181,100), 'alt="' . $post->post_title . '"'); ?>
    
    	<p><?php echo dp_clean($post->post_content, 150); ?></p>
    
    	<div class="postmeta">
    
        <p class="category"><?php the_category(', '); ?></p>
    
    	<p class="comments"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p>
    
    	</div>
    
        </div>
    
    	<!-- end post -->
    
    	<?php endwhile; ?>
    
    		<div class="postnav">
    
    		<div class="navigation">
    
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></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(); ?>

    works perfectly. THANK YOU!!!!

    HEY BINARYZEN

    THANKS…

    FINALLY MY WORDPRESS SHOWS IMAGES ON HOME PAGE… JAJAJAJ

    IM SO HAPPY

    Hi

    I tried the new index code, but I still don’t know how to add images to the main page. I have images in my posts as well as in the excerpts.

    How can I make a thumbnail show up with the excerpt.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘New Gemer theme has a flaw… need help!’ is closed to new replies.