Title: binaryzen's Replies | WordPress.org

---

# binaryzen

  [  ](https://wordpress.org/support/users/binaryzen/)

 *   [Profile](https://wordpress.org/support/users/binaryzen/)
 *   [Topics Started](https://wordpress.org/support/users/binaryzen/topics/)
 *   [Replies Created](https://wordpress.org/support/users/binaryzen/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/binaryzen/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/binaryzen/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/binaryzen/engagements/)
 *   [Favorites](https://wordpress.org/support/users/binaryzen/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Gemer Theme (Thumbnails does not appear on Home Page](https://wordpress.org/support/topic/gemer-theme-thumbnails-does-not-appear-on-home-page/)
 *  [binaryzen](https://wordpress.org/support/users/binaryzen/)
 * (@binaryzen)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/gemer-theme-thumbnails-does-not-appear-on-home-page/#post-1437384)
 * I’ve posted corrected index.php source in another thread: [http://wordpress.org/support/topic/320298?replies=4#post-1574522](http://wordpress.org/support/topic/320298?replies=4#post-1574522)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [New Gemer theme has a flaw… need help!](https://wordpress.org/support/topic/new-gemer-theme-has-a-flaw-need-help/)
 *  [binaryzen](https://wordpress.org/support/users/binaryzen/)
 * (@binaryzen)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/new-gemer-theme-has-a-flaw-need-help/#post-1242307)
 * 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(); ?>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)