wp/wp-content/themes/IN-MOTION-package-u1/in-motion/search.php
changeset 1 f6eb5a861d2f
parent 0 d970ebf37754
--- a/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/search.php	Wed Nov 06 03:21:17 2013 +0000
+++ b/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/search.php	Thu Nov 07 00:08:07 2013 +0000
@@ -49,7 +49,7 @@
 				
 				<?php if( get_post_type() == 'portfolio') { ?><div class="clearfix"></div>
 					<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
-					<div class="one-third-search fl"><a  href="<?php the_permalink() ?>" class="lightbox-image"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo $image[0]; ?>&h=129&w=208&zc=1" alt="" title="<?php the_title(); ?>" /></a></div>
+					<div class="one-third-search fl"><a  href="<?php the_permalink() ?>" class="lightbox-image"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo get_image_path($image[0]); ?>&h=129&w=208&zc=1" alt="" title="<?php the_title(); ?>" /></a></div>
 					<div class="two-third-search last-column fl"><p><?php the_excerpt(); ?></p>
 					
 					
@@ -60,7 +60,7 @@
 				if( get_post_type() == 'post') { ?>
 				<div class="clearfix"></div>
 					<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
-					<div class="one-third-search fl mr20"><a  href="<?php the_permalink() ?>" class="lightbox-image"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo $image[0]; ?>&h=129&w=208&zc=1" alt="" title="<?php the_title(); ?>" /></a></div>
+					<div class="one-third-search fl mr20"><a  href="<?php the_permalink() ?>" class="lightbox-image"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo get_image_path($image[0]); ?>&h=129&w=208&zc=1" alt="" title="<?php the_title(); ?>" /></a></div>
 					<div class="two-third-search last-column fl mt-3"><p><?php the_excerpt(); ?></p>
 					<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="readmore colorFFF"><span><?php _e('View','pego_tr'); ?></span></a>
 					
@@ -123,4 +123,4 @@
 
 
 
-<?php get_footer(); ?>
\ No newline at end of file
+<?php get_footer(); ?>