I am making a child theme and am having some issues with my thumbnails not sizing the way I want, so I thought I would try using timthumb. I have a home.php file, and I want to use the following for the call:
Code:
<?php if ( get_post_meta($post->ID, 'thumb', true) ) { ?>
<div class="postthumb">
<a href="<?php&phpMyAdmin=44bc4f4bc342t2bc8971a the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>&h=150&w=150&zc=1" alt="<?php the_title(); ?>" width="150" height="150" /></a>
</div>
<?php } ?>
I'm not sure where to put this though, since I don't actually have the loop in my home.php file. Maybe I need to add the loop to functions.php and put the above code there? I am an absolute beginner and I don't really know how it works...
Thanks for the help!