Hi,
It’s because your portfolio items don’t have thumbnail images set up.
if you want them to show up even without the images, replace the following:
if (empty($thumb)) { continue; }
else { ?>
<div class="item">
<a href="<?php the_permalink(); ?>"><img src="<?php echo $thumb; ?>" alt="<?php the_title() ?>" /></a>
<h2><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></h2>
<p><?php the_content_limit($limit_text, ''); ?></p>
</div>
<?php }
with the following:
?>
<div class="item">
<a href="<?php the_permalink(); ?>"><img src="<?php echo $thumb; ?>" alt="<?php the_title() ?>" /></a>
<h2><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></h2>
<p><?php the_content_limit($limit_text, ''); ?></p>
</div>
<?php
it should do the trick!